HTMLify
Log in
Register
Dashboard
Temp Share
Shortlinks
Frames
API
Log in
Register
Dashboard
Temp Share
Shortlinks
Frames
API
cody - HTMLify profile
cody
4270 Files
631637 Views
Latest files of /cody/p
Sum of prime numbers in given range
cody/p/1.py
316 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