HTMLify
Log in
Register
Dashboard
Shortlinks
Frames
API
cody - HTMLify profile
cody
4049 Files
516266 Views
Latest files of /cody/p
Sum of prime numbers in given range
cody/p/1.py
245 Views
0 Comments
def is_prime(n):
if n < 2:
return False
for i in range(2, n//2+1):
if not n%i:
return False
return True