Answers for "effient way to find prime no inpython"

0

effient way to find prime no inpython

num = 13
if num > 1:
for i in range(2, num//2):
if (num % i) == 0:
print(num, "is not a prime number")
break
else:
print(num, "is a prime number")
else:
print(num, "is not a prime number")
Posted by: Guest on September-13-2021

Code answers related to "effient way to find prime no inpython"

Python Answers by Framework

Browse Popular Code Answers by Language