Question: Math toolbox You are write a Python program that will be your math tool box, it should have at least the following functions: where you

Math toolbox You are write a Python program that will be your math tool box, it should have at least the following functions: where you have the following functions to calculate area and circumference of four geometrical shapes namely: Square o ( Area = Length * length , Cir= 4* Length) Rectangle o ( Area = Length * width , Cir= 2* (Length + Width)) Triangle o (Area= 0.5* base * height, Circ= side1+ side2+side3) Circle o (Area = Pi*Radius*Radius, Cir= 2*Pi*Radius) Program will print a menu so that the user will select one of the following options: Option 1: Exit the program Option 2: Shape = Square Option 3: Shape= Rectangle Option 4: Shape= Circle Option 5: Shape= Triangle Then for each shape you will ask user to input needed data (for example for a rectangle you need Length and Width) to calculate area and circumference

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!