Write a python program to check given number is prime or not
Answers
Answered by
1
Answer:
for j in range(2, int(a/2) + 1): # If the given number is divisible or not. if (a % j) == 0: print(a, "is not a prime number")
Similar questions