This game will help the user learn their maths skills (addition, subtraction and multiplication). The structure of the questions should be of this form (only a sample of addition question is show below):

Addition quiz
Q1. What is (? - 10) = 4?
Congratulations, your answer is correct. Your score is 1

or

Maths pre-algebra question
Q2. What is (30 + ? ) / 5 = 12?
Congratulations, your answer is correct. Your score is 1

Specifications:

  • The program should ask the user a question and allow the student to enter the answer. If the answer is correct, a message of congratulations should be displayed. If the answer is incorrect, a message showing the correct answer should be displayed.
  • The program should use three functions, one function to generate addition questions, one for subtraction questions and one for multiplication questions.
  • The program should store the questions and answers in a dictionary or list.
  • The program should keep a count of the number of correct and incorrect responses.
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.