You are going to enhance the prior assignment by doing the following1) Use list to create a menu2) Create a function
Need help with this assignment?Get an original answer from a qualified tutor — from $10/page.
Get it written →You are going to enhance the prior assignment by doing the following1) Use list to create a menu2) Create a function the will return the results of the four operations in a dictionary allInOne(n1,n2)Sample output
1) Add two numbers
2) Mult two number
3) Divide
4) Scalc
5) all in one ..
6) …
res=allInOne(5,2)
The results will be return in this format;
res is dictionary {"add":7, "sub":3, "mult":10, "div":2.5)
from res, you are going to print
5 + 2 = 7
5 – 2 = 3
5 * 2 = 10
5 / 2 = 2.5
Get a plagiarism-free answer to this question
Send us your instructions and we’ll match you with the best writer in your subject.
- 100% human-written, zero AI
- Turnitin report included
- Confidential — we never share your data
- Free revisions & refunds