Phyton: A person can obtain their driver's license if they are of legal age and have official identification. Write a Python program that reads a person's age and if they have (y/n) official...


Phyton:


A person can obtain their driver's license if they are of legal age and have official identification.


Write a Python program that reads a person's age and if they have (y/n) official identification.


Output must show Yes if you can obtain your license or No if you cannot obtain it



Entry


person's age


The letter s or n indicates whether or not you have official identification. The letter is lowercase.


Exit


The word Yes or No depending on whether or not the person can get their driver's license. Note that the word goes with the first letter capitalized.


Program execution example:


>>>21


>>>s


Yes



Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here