Question: Write code to take in a user s age using input ( ) and store their age in an integer variable called age. Then check

Write code to take in a users age using input() and store their age in an integer variable called age. Then check if the users age is 18 or older. If the user is 18 or older, print out the message You are old enough!. Else if they are over 16 but under 18, print Almost there. Otherwise print Youre just too young!. You should use one if, elif and else statement to do this

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!