I don't understand why my modulu operator seems to be receiving an error message. Although, I'm not even sure that's the problem. This is the error message I received :
Traceback (most recent call last):
File "c:\projectspython\myfirstchallenge.py", line 13, in <module>
check = (number) % (2)
TypeError: not all arguments converted during string formatting
Code:
number = input("Enter a number: ")
check = (number) % (2)
if check == 0:
print("your number is even.")
elif check >= 0:
print("Your number is odd.")
else:
print("something else")