Back to tasks
Even or odd
BeginnerPython for kids 路 Lesson 24: Divisibility - % in conditions
Problem Statement
Read a number n. Print PARZYSTA (even) or NIEPARZYSTA (odd).
Input Format
One whole number n (-1000 <= n <= 1000).
Output Format
PARZYSTA or NIEPARZYSTA.
Examples
Example 1
Input
10
Output
PARZYSTA
Example 2
Input
-7
Output
NIEPARZYSTA