Back to tasks
Out of range
BeginnerPython for kids 路 Lesson 25: and, or, not - joining conditions
Problem Statement
Read a number n. Print TAK if it is outside the range from 0 to 100 (less than 0 or greater than 100), otherwise NIE. (TAK is Polish for yes, NIE for no.)
Input Format
One whole number n (-1000 <= n <= 1000).
Output Format
TAK or NIE, in capital letters (Polish for yes and no - like in Polish olympiads).
Examples
Example 1
Input
-5
Output
TAK
Example 2
Input
50
Output
NIE