All problems
Even or Odd
easyPythonBasicsConditionals
A dance class at Riverbend Community Centre works in pairs. Before each session the tutor types in how many people signed up, and the screen has to say whether that many people split cleanly into pairs or whether someone will be left standing alone.
Task: Read the number of people and report whether it is even or odd.
Input
A single line holding one integer n, with 0 ≤ n ≤ 1,000,000.
Output
One line holding exactly Even or exactly Odd — capital first letter, no quotes, nothing else.
Example:
Input:
7
Output:
Odd
Sign in to solve this problem
Reading problems is free for everyone — solving them (Run, Submit, and tracking what you've solved) needs an account.
Sign in