Question
This project make in python in this project you are NOT aloud use this thing that its lists, tuples and dictionaries are NOT allowed in
This project make in python in this project you are NOT aloud use this thing that its lists, tuples and dictionaries are NOT allowed in your code. Knowing mathematics is a necessary skill for any engineer or computer scientist. To help us practice our math skills, we will write a program that checks our equations. The program should read from the user equations of the form: a
Its have this output in program : Equation: 45 + 23 = 732 Sorry, 45 + 23 = 68 Equation: 4 x 3 = 12 Correct Equation: 7 // 3 = 2 Correct Equation: 7 % 3 = 1 Correct Equation: 4 + 2 = 432 Sorry, 4 + 2 = 6 Equation: quit You tried 5 equations. You got 3 correct and 2 wrong. Equation: 2 + 4 = 6 Correct Equation: 2 - 4 = 24 Sorry, 2 - 4 = -2 Equation: 7 $ 23 = 32 Sorry, I don't understand this equation Equation: 4 % 3 = 2 Sorry, 4 % 3 = 1 Equation: 6 x 6 = 36 Correct Equation: 9 ? 32 = 2372 Sorry, I don't understand this equation Equation: quit You tried 4 equations. You got 2 correct and 2 wrong. Equation: 1 + 1 = 1 Sorry, 1 + 1 = 2 Equation: 1 x 2 = 1 Sorry, 1 x 2 = 2 Equation: 1 * 4 = 23 Sorry, I don't understand this equation Equation: quit You tried 2 equations. You got 0 correct and 2 wrong.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started