#Worksheet 4 Question 5 y = 2 z = 1 x = int(input("Please enter a positive integer: ")) while (z!=0): z = x%y print("x , y", x, y, "x mod y = ",z) if (z!=0): y = y + 1 if x == y: print (x, " is in category 1") else: print (x, " is in category 2")