Learning Goal: I’m working on a python question and need guidance to help me learn.In this Program, just use loops and if-statements in programming and practicing flexible, adaptive, programming styles.You are to develop a math quizzer game that allows students to practice their multiplication skills. A player will be prompted with a multiplication equation, and will earn points for answering it correctly and lose points for answering it incorrectly. The player wins (and the game ends) when they have reached a goal score. For our program, we will assume a goal score of 10 points.The number of points won/lost is determined by the question difficulty level, defined as follows:Level 1: 1 point – both operands are from 1-3 Level 2: 2 points – both operands are from 4-6 Level 3: 3 points – both operands are from 7-10If they answer a question correctly, they earn the associated number of points, otherwise they lose that number of points. However, the score should not be allowed to go negative (for example, if their current score is 1 and the player incorrectly answers a 3-point question, their score would then be zero not -2). Similarly, their score should never be displayed as being above the goal score (10 in our current case). The game ends when the player reaches the goal score. There is no limit on the number of tries to reach the goal score. The InterfaceThe following information must be displayed in the following order:The title “Multiplication Quizzer” is displayed.
A short description of the game play is displayed.
The program will enter a loop in which it:Prompts the user to indicate if they want to answer a level 1, 2 or 3 question. The display should take the form of a numbered menu, where each choice indicates the number of points associated with the level and the potential operand values (similar to the table shown above). You may assume that the user enters an integer value for their choice, but if they enter a value that is not a valid menu choise, the program should continue to re-prompt, with an error message, until a valid value is entered.
Displays an appropriate, randomly generated equation, and prompts for an answer (again, you may assume an integer is entered).
Displays a congratulations message if the answer is correct or, if the answer is incorrect, displays an appropriate message along with the correct answer.
Displays the number of points earned/lost (it should be the number of pointsassociated with the question, even if not all of those points can be added/deductedto avoid the score exceeding the goal/going negative).
Displays the updated player score (only if the player has not won)
Displays the number of additional points needed to reach the goal score (only if theplayer has not won)
When the goal score is reached, the following information should be displayed:Display a congratulations message, which displays the goal score and indicates that they have reached the goal (so, instance, in our case, if the player actually reached a score of 12, the message should only display that the goal of 10 was reached). Although it would be a good strategy for a player to pick the easiest level question needed to reach the goal, your program cannot assume that the player will do that, and so should be ready to accommodate the situation where their actual score exceeds the goal score.
Display the number of equations played to reach the goal.
Requirements: according to the guideline
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more