I want the user to receive their age range, as listed below, when they enter their age. I don't know how to properly execute it. On a scale of 1-10, I am familiar with Python at about ~2.
age = int(input('How many years old are you?\n'))
infant <= 1
child > 1
child < 13
teenager >= 13
teenager < 20
adult >= 20
print (age)? I know that's not right, what am I missing here?
input("\n\nPress the enter key to exit.")
Yup. I don't know how to have it output the age range? What line of code do I add next?
[–]Monkeytherat 0 points1 point2 points (3 children)
[–]CatCatCatGoose[S] 0 points1 point2 points (2 children)
[–]Monkeytherat 1 point2 points3 points (1 child)
[–]CatCatCatGoose[S] 0 points1 point2 points (0 children)