Back to tasks
The ride's limit
BeginnerPython for kids 路 Lesson 29: Mistakes in ifs
Problem Statement
You can get on the ride from 120 cm. The program should print TAK or NIE - but for one height it answers wrong. This program has a mistake - find it and submit the fixed version.
height_str = input()
height = int(height_str)
if height > 120:
print("TAK")
else:
print("NIE")
Input Format
One whole number - the height in cm (50 <= height <= 200).
Output Format
TAK or NIE, in capital letters (Polish for yes and no - like in Polish olympiads).
Examples
Example 1
Input
120
Output
TAK
Example 2
Input
119
Output
NIE