repl.it
@Juice99/

Challenge 2

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
number = input("give a number ")
number = int()
if (number % 2) == 0:
  print("that is even")
elif (number % 2) == 1:
  print("that is odd")
elif number.isdigit() == False:
  print("you must input a number")
?