Back to tasks
A typo in a name
BeginnerPython for kids 路 Lesson 29: Mistakes in ifs
Problem Statement
The program should print DOROSLY (adult) for ages from 18, and DZIECKO (child) for younger ones. This program has a mistake - find it and submit the fixed version.
age_str = input()
age = int(age_str)
if aeg >= 18:
print("DOROSLY")
else:
print("DZIECKO")
Input Format
One whole number - the age (1 <= age <= 100).
Output Format
DOROSLY or DZIECKO.
Examples
Example 1
Input
18
Output
DOROSLY
Example 2
Input
9
Output
DZIECKO