notaverygoodprogrammer
Coder
I am trying to make a simple program where you input a number and the computer will tell if it's an odd number or an even number (yes I'm a noob coder). I was using a strategy where I make the input number have no remainders after divided by 2 (thus making it even) but I'm not exactly sure how it might be written? And maybe I've made a lot of other mistakes as well.
Python:
input("give a random number: ")
input = int
if int % 2 == 0:
print("you have an even number")
else:
print("you have an odd number")