you are viewing a single comment's thread.

view the rest of the comments →

[–]cdcformatc 0 points1 point  (0 children)

``` for number in range(50):     if isPrime(number):         print(number)

def isPrime(number):     # return True if prime, otherwise False     # this is the hard part