Skip to content
Snippets Groups Projects
Commit e7faf68e authored by Juan Camilo Rosero Gomez's avatar Juan Camilo Rosero Gomez
Browse files

Add README.md

parent 7ba4db9f
No related branches found
No related tags found
No related merge requests found
def es_primo(n):
if n < 2:
return False
for i in range(2, int(n ** 0.5) + 1):
if n % i == 0:
return False
return True
suma = 0
for i in range(1, 201):
if es_primo(i):
suma += i
print(suma)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment