Back to tasks
A walk
BeginnerPython for kids 路 Lesson 25: and, or, not - joining conditions
Problem Statement
Read a number: 1 if it's raining, or 0 if it isn't. Store in the variable raining whether it's raining. If it is not raining, print SPACER (a walk), otherwise DOM (home).
Input Format
One whole number - 0 or 1.
Output Format
SPACER or DOM.
Examples
Example 1
Input
0
Output
SPACER
Example 2
Input
1
Output
DOM