subject

7- Calculator Submit Assignment
Submitting a text entry box or a file upload
Create a simple calculator program.
Create 4 functions - add, subtract, multiply and divide.
These functions will print out the result of the operation.
In the main program, ask the user to enter a letter for the operator to enter 2 float input values.
After the user enters the values, ask the user what operation they want to perform on the values-A, S, M, D or E to Exit
and
Make sure you check for divide by O.
Your program should continue until E is typed.
upload or copy your python code to the submission

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 16:00
What is a dashed line showing where a worksheet will be divided between pages when it prints? a freeze pane a split box a page break a print title
Answers: 1
question
Computers and Technology, 24.06.2019 16:50
Develop the program incrementally: a) start by reading and displaying each line of the input file to make sure you are reading the data set correctly. b) use the split string method to extract information from each line into a list. print the list to prove that this step is working correctly. d) convert the exam scores to type int and calculate the student’s average. display those items to prove this step is working correctly. e) create a tuple containing the six items for each student (name, exam scores, exam mean). display the tuples to prove this step is working correctly. (optionally, you may want to have the exam scores in a list so your tuple is (name, scores_list, f) append each tuple to a list. display the list to prove this step is working correctly. g) use the sort list method to re-order the tuples in the list. display the list to prove this step is working correctly. h) use a for statement to display the contents of the list as a table (with appropriate formatting). i) use a for statement to calculate the average of all scores on exam #1, then display the results. note that you could have calculated this average within the first loop, but we are explicitly requiring you to do this calculation by looping though your list of tuples. j) add the logic to calculate the average of all scores on exam #2, then display the results.
Answers: 2
question
Computers and Technology, 24.06.2019 19:00
Which of the following "invisible" marks represents an inserted tab?
Answers: 1
question
Computers and Technology, 25.06.2019 00:00
What function key is used to enable the spelling and grammar function
Answers: 1
You know the right answer?
7- Calculator Submit Assignment
Submitting a text entry box or a file upload
Create a s...
Questions
question
Mathematics, 17.02.2021 19:30
question
Mathematics, 17.02.2021 19:30
question
Mathematics, 17.02.2021 19:30
Questions on the website: 13722361