num1 = int(input("Enter a number: ")) total = 0 while