Question: python question Exercise 2: DMV The Department of Motor Vehicles (DMV) is responsible for issuing driver's licenses. This question asks you to write a program
python question
Exercise 2: DMV The Department of Motor Vehicles (DMV) is responsible for issuing driver's licenses. This question asks you to write a program called dmv.py that prompts the user to enter their full name (first, middle, and last) and their date of birth and then produces a "driver's license". The license should have the following pieces of information: A random driver's license number that consists of 7 random digits * The user's last name * The user's first and middle name * An expiration date which is the user's birth date except for the year which should be 2021 Here is an example of what my program produces when run: Welcome to the DMV (estimated wait time is 3 hours) Please enter your first, middle, and last name: Anthony James Mullen Enter date of birth (MM/DD/YY): 05/15/71 Washington Driver License DL 8704266 LN Mullen EN Anthony James DOB 05/15/71 EXP 05/15/21
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
