num1=int(input("pick a number:")) for i in range(2,num1): if (num1 % i) == 0: print("this is not a prime number!") break else: print("this is a prime number!") break