Question: Assignment Overview This assignment involves coding and testing of a program using Python control (if for, while) from Chapter 2 This assignment is worth 20

 Assignment Overview This assignment involves coding and testing of a programusing Python control (if for, while) from Chapter 2 This assignment isworth 20 points (2% of course grade), and must be completed before1 1 :59 PM on Monday, February 1 Assignment Deliverable The deliverable

Assignment Overview This assignment involves coding and testing of a program using Python control (if for, while) from Chapter 2 This assignment is worth 20 points (2% of course grade), and must be completed before 1 1 :59 PM on Monday, February 1 Assignment Deliverable The deliverable for this assignment is the following file proj03.py - the source code for your Python program Be sure to use the specified file name and to submit it for grading via the handin system before the project deadline Background You are going to write a program to help young students practice their addition. It will present them with random numbers to add together, get their answer and report if it is correct or not. They'll get a report at the end of how many problems they got right. The user will be able to specify how difficult the problems will be Program Specifications 1. Your program will prompt for two numbers ifficulty (an integer >= 2) B. Number of problems (an integer > 1 ) C. Error checking: you will check that the difficulty is greater than or equal to 2 and that the number of problems specified is greater than or equal to. If an error is found, print an appropriate error message and end the program without drawing any figures. Do your error checking after both values are input. The error message must be specific to the error so that if one input has an error the message will be different than if both have an error see samples below. (Assume that the user wl input an integer, if something other than an integer is input, it is fine for Python to halt your program with an error-we will learn a good way to handle that later.) 2. Your program will generate addition problems of the specified difficulty, prompt for an answer, provide feedback on whether the answer is correct or not (and provide the correct sum, if the answer was incorrect), and keep track of the number of correct answers "Difficulty" determines two things i. The range of digits in each number, e.g. difficulty of 3 means that the addition will be numbers up to 3 digits (i.e. 0-999) ii. The number of values being added, e.g. difficulty of 3 means that 3 numbers will be added, e.g. xtyt z where each number has up to 3 digits

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!