In
this post, we will write a program in Python to check whether the input number is prime or not using while loop. In this Python program, we will take an input from the user and check whether the number is prime or not.
num=int[input["Enter a number [ greater than 1]"]] f=0 i=2 whileiHow to write Prime number Program in Python?
Chủ Đề