Question: First Last H BlockPy: #29.1) Drinking Function Create a function named can drink that takes in age and has-license Then, use your logic from question

 First Last H BlockPy: #29.1) Drinking Function Create a function named
can drink that takes in age and has-license Then, use your logic
from question #272 as the functions body, Change the function's body to
return strings (not print), Call the function with your own information (again,

First Last H BlockPy: #29.1) Drinking Function Create a function named can drink that takes in age and has-license Then, use your logic from question #272 as the functions body, Change the function's body to return strings (not print), Call the function with your own information (again, or make it up) and print the result of calling it Here is the logic from #27.2; if you are 21 or older if you are less than 1800 years old if you have a license then return "Can drink" otherwise then return "Doesn't have a license" otherwise then return Too old" otherwise the return Too young" Feedback: Ready Console

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 Databases Questions!