Python 3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 19:29:22) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> 
========== RESTART: C:/Users/Naveed Hussain/Documents/Python/hw6.py ==========
This exam has 20 multiple choice questions.
Enter A, B, C or D to answer each question.
Enter Answer: B
Enter Answer: D
Enter Answer: A
Enter Answer: D
Enter Answer: C
Enter Answer: A
Enter Answer: B
Enter Answer: A
Enter Answer: C
Enter Answer: D
Enter Answer: B
Enter Answer: C
Enter Answer: D
Enter Answer: A
Enter Answer: D
Enter Answer: C
Enter Answer: C
Enter Answer: C
Enter Answer: D
Enter Answer: A
Congratulations! You have passed the exam!
Number of correct answers:  18
Number of incorrect answers:  2
Questions answered incorrectly were:  [4, 18]
>>> 
========== RESTART: C:/Users/Naveed Hussain/Documents/Python/hw6.py ==========
This exam has 20 multiple choice questions.
Enter A, B, C or D to answer each question.
Enter Answer: 	B
Enter Answer: D
Enter Answer: A
Enter Answer: A
Enter Answer: C
Enter Answer: A
Enter Answer: B
Enter Answer: B
Enter Answer: B
Enter Answer: A
Enter Answer: C
Enter Answer: D
Enter Answer: A
Enter Answer: B
Enter Answer: D
Enter Answer: C
Enter Answer: D
Enter Answer: C
Enter Answer: D
Enter Answer: A
Sorry, you were unable to pass the exam.
Number of correct answers:  10
Number of incorrect answers:  10
Questions answered incorrectly were:  [1, 8, 9, 10, 11, 12, 13, 14, 17, 18]
>>> 
