Question: In this assignment we had to create a calculator using Python and it has to run in Python 3. I don't think mine is working

In this assignment we had to create a calculator using Python and it has to run in Python 3. I don't think mine is working correctly. What did I do wrong?
 In this assignment we had to create a calculator using Python
and it has to run in Python 3. I don't think mine

llt/usr/bin python plain def question What is your option? n Input a number contin True opt -1 accum 0.0 while contin print "Accumulator accum) print ("Please choose print ("1) Addition") print ("Z) Subtraction") print "3) Multiplication") print ("4) Division") print ("5) Square root") print "6) Clear") print ("0) Exit") check int input (question)) opt int (input (question)) if opt- 0 contin False elif opt--1: num float input (n)) accum enum elif opt- 2 num float input (n)) num elif opt- 3: num float input (n)) accum*-mum Read 51 li Get Help Writeout. R Read File Ne

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!