Solución reto #4 en Python
Opened this issue · 0 comments
grisales54 commented
def primo(num):
for i in range(2, num):
if num % i == 0:
return False
return num
for i in range(2, 101):
if primo(i):
print(primo(i))
Opened this issue · 0 comments
def primo(num):
for i in range(2, num):
if num % i == 0:
return False
return num
for i in range(2, 101):
if primo(i):
print(primo(i))