Computer Science, asked by arorashrey10, 11 hours ago

Write a python program to check given number is prime or not

Answers

Answered by shouryamanishpatil12
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