Get input from user num = int(input('input for prime or not prime :')) for loop can divsion between 0,1,2 and 3 for i in range(2,3): If loop for in case num % i = 0 (5 / i = !0) if num % i == 0: print("not prime") break else for num % i = >= 1 else: print('prime') Here I'm Instagram Twitter Linkedin Information BY aakashpadhiyar 8140171224