Back to tasks
A number from both sides
BeginnerPython for kids 路 Lesson 26: An if inside an if
Problem Statement
Read a number n. If it is positive, print PARZYSTA (even) or NIEPARZYSTA (odd). If it isn't positive, print ZERO for zero and UJEMNA (negative) for negative numbers.
Input Format
One whole number n (-1000 <= n <= 1000).
Output Format
PARZYSTA, NIEPARZYSTA, ZERO or UJEMNA.
Examples
Example 1
Input
8
Output
PARZYSTA
Example 2
Input
0
Output
ZERO
Example 3
Input
-5
Output
UJEMNA