205k views
2 votes
Challenge 13 - Create a program to ak the uer their age and if it i between 4 and 16 it hould output

"You are in chool", otherwie output "You are not of chool age"

User Alaric
by
5.1k points

1 Answer

5 votes

Answer:

age = int(input("Enter your age: "))

if age >= 4 and age <= 16:

print("You are in school")

else:

print("You are not in school age")

Step-by-step explanation:

since you didnt mention the program you’re using, im going to answer it using python. if there's anything to amend let me know!

User Dejakob
by
5.0k points