Advertisement
dkyoseff

Conditional Statements - Lab / 03. Even or Odd

Jul 5th, 2022
939
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None
  1. number = int(input())
  2.  
  3. if number % 2 == 0:
  4.     print('even')
  5. else:
  6.     print('odd')
Advertisement
RAW Paste Data Copied
Advertisement