odd-or-even.py 169 B

12345678
  1. print('Wellcome to Odd or Even Program')
  2. num = int(input('Inter the number: '))
  3. if num % 2 == 0:
  4. print('Your number is even')
  5. else:
  6. print('Your number is odd')