Back to tasks
A lost colon
BeginnerPython for kids 路 Lesson 29: Mistakes in ifs
Problem Statement
The program should print TAK for a positive number, and NIE for the rest. This program has a mistake - find it and submit the fixed version.
n_str = input()
n = int(n_str)
if n > 0
print("TAK")
else:
print("NIE")
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
-5
Output
NIE