Commit 1ed66035 authored by Sanjna's avatar Sanjna

Upload new file

parent 22b591c0
import functools as ft
def Fib(n):
primes = ft.reduce(lambda x,y: x+ list(range(y*y,n+1,y)),range(2,n+1),[])
return(list(filter(lambda x: x not in primes,range(2,n+1))))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment