I'm trying to make a program that has the user input a number and check if it's even or odd by dividing it by 2 and seeing if there's a remainder. but I keep getting an error saying "not all arguments converted during string formatting"
I haven't been able to do much because I can't find anything about it anywhere.
var = input("Enter a number!") var1 = var % 2 if var1 > 0: print("The entered number is odd") else: print("The entered number is even")