Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def pierwsza(stop):
- pier = lambda x: all(map(lambda y:x%y!=0,range(2,x)))
- return list(filter(pier,range(2,stop)))
- def main():
- print(pierwsza(7))
- if __name__ == '__main__':
- main()
Advertisement
Add Comment
Please, Sign In to add comment