A python program that prompts a user to enter their year of birth and in return prints a string in the console stating whether the user is a minor, a youth or an elder. Anyone below 18 years is a minor, anyone between , 18 and 36 years of age is a youth and the rest are elders.
viviandoreen / challenge-one Goto Github PK
View Code? Open in Web Editor NEWA python program that prompts a user to enter their year of birth and in return prints a string in the console stating whether the user is a minor, a youth or an elder. Anyone below 18 years is a minor, anyone between , 18 and 36 years of age is a youth and the rest are elders.