Помогите плиз 75б інформатика
Приложения:

onetfriend:
за умовою виходить, що вік 14 буде "це пенсійний вік"
Ответы на вопрос
Ответил flash77779
1
age = int(input("Enter your age: "))
if age > 0:
if age <= 14:
print("This is a child!")
elif age <= 18:
print("This is a teenager!")
elif age <= 60:
print("This is an adult!")
else:
print("It's retirement age!")
else:
print("Please enter a positive number")
Приложения:

Новые вопросы