Question: Write your program that uses if-statements. in Python Requirements. Write a program, threeQuestions1.py, to present the user with three addition and/or subtraction problems. After each
Write your program that uses if-statements. in Python
Requirements. Write a program, threeQuestions1.py, to present the user with three addition and/or subtraction problems. After each question, output correct or incorrect based on their answer, or words to that effect.
Program I/O. Input: three numeric answers in response to posed math problems Output: correct or incorrect after each response is evaluated.
Example. Here's what the output should look like, with user input in blue: Three addition and subtraction problems:
1+2=3 Good work your answer is correct!
100 - 99 = 1
Good work
12 + 21 = Nice job,
your answer is correct!
30
but a better answer is 33.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
