Lists And Data Structures

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Order a Similar Paper HERE Order a Different Paper HERE

You are going to enhance the prior assignment by doing the following 1) 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