Python program learning files and tupals I can not figure out how to do this

Computer Science
Price: $30 USD

Question description

The local driver's license  office has asked you to create an application that grades the written portion of driver's license exam. The exam has 20 multiple-choice questions. Here are the correct answers:

1. A   6. B   11. A   16. C

2. C   7. C   12 D   17. B

3. A   8. A   13.C     18. B

4. A   9. C   14.A     19. D

5. D   10.B   15.D     20. A

Your program should store these correct answers in a list. The program should read the student's answers for each of the 20 questions from a text file and store the answers in another list. After the student's answers have been read from the file, the program should display a message indicating whether the student pass the exam. ( A student must correctly answer 15 of the 20 questions to pass the exam.) It should then display the total number of correctly answered questions, the total number of incorrectly answered questions, and a list showing the question numbers of the incorrectly answered questions.

Tutor Answer

(Top Tutor) Daniel C.
School: Boston College
Studypool has helped 1,244,100 students
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1819 tutors are online

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors