Jumpstart Your Paper

Browse our Free Essay examples and check out our Writing tools to get your assignments done.

 Python Language

INSTRUCTIONS:

The program welcomes the user and then prompts them to select a difficulty. The user first tried entering “medium” and was told it was an invalid choice. They enter “M” and the program confirms that they have selected the medium difficulty. The difficulty determines the number of questions in the test, how many random numbers are in each list of numbers, and range of those numbers (i.e. the minimum and maximum possible numbers). The program then asked the user 4 randomly selected questions – the type of question is randomly selected each time, allowing the same type of question to be asked multiple times. As you can see, a new list of random numbers is generated for each question. The final question is a “challenge question”, using a range of numbers that is double the normal range for the selected difficulty. The user answered the first question incorrectly, but answered the remaining questions correctly. The program tells the user whether their answer is correct or not before proceeding to the next question, and then displays their score after the final question
Related Topics: