Digital download
$25.00
- Availability
- In stock
- Checkout
- One item
Need a hand?
Message us on WhatsApp for payment or download support.
The local Drivers License Office has asked you to write a program that grades the written portion of the drivers license exam. The exam has 20 multiple choice questions.Here are the correct answers:(A,C,A,A,D,B,C,A,C,B,A,D,C,A,D,C,B,B,D,A)Your program should store these correct answers in a list.The program should read the students answers for each of the 20 questions from a text file and store them in another list. After students answers have been read from the file, the program should display a message indicating whether student passed or failed. Must answer atleast 15 to pass. It should then display total number of correct answered questions, total number incorrect answered questions, and a list showing the question numbers of the incorrectly answered questions.requirements:use python codeuse of functions and value returning functions- use 3read file contents into list using a loop