Question: I'm currently making a simple calculator using python 3.7. From a cmd prompt a user can enter 2 * 3 or 4 + 5. I

I'm currently making a simple calculator using python 3.7. From a cmd prompt a user can enter 2 * 3 or 4 + 5. I need a way for it to read both numbers and operator. I then need if statements whose conditions are: No user input "" and an operator other than +/*.

Thanks

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!