Write a program bar_bouncer.py
that askes the user to enter their age, and then prints out a message that's appropriate for them.
If the user is less than 21 years old, print out two messages: one telling them that they can't come in, and one telling them to come back in a given number of years (where the program calculates how many years it is until they turn 21).
If the user is old enough to enter, the program should display a couple of lines letting them know that they can enter, and welcoming them in.
Sample interactions:
Hello! How old are you? 17
I'm sorry, we can't let you in.
Please come back in 4 years!
Hello! How old are you? 23
You are over 21!
Come on in and enjoy your evening with us!
Write the program to be able to handle three possibilities:
If the user is less than 21 years old, the program behaves as before.
If the user is exactly 21 years old, the program prints out a message telling them that they need to show their driver's license to verify their age--they're being carded. If the user is older than 21 years, the program behaves as before.
Sample interactions:
Hello! How old are you? 17
I'm sorry, we can't let you in.
Please come back in 4 years!
Hello! How old are you? 21
Are you sure?
I'm afraid I'm going to have to see your driver's license!