python/Test/Test.py
2024-03-11 20:05:37 -04:00

11 lines
284 B
Python

user_name = input("What is your name? ")
print("Hello, " + user_name + "!")
age = int(input("How old are you? "))
if age >= 13 and age <= 19:
print("You are a teenager!")
elif age == 20:
print("You are 20, not a teenager anymore!")
else:
print("You are not a teenager.")