Question: 1) Write a Python program to show the user a menu with the following options, Square, rectangle, circle, right triangle, distance of two points and

 1) Write a Python program to show the user a menu

1) Write a Python program to show the user a menu with the following options, Square, rectangle, circle, right triangle, distance of two points and exit. Define 5 functions for each option and implement the followings inside each function, Square function: Calculates the area, the perimeter and the length of diagonal and finally displays all details. Rectangle function: Calculates the area, the perimeter and the length of diagonal and finally displays all details. Circle function: Calculates the area, the circumference and the length of diameter and finally displays all details

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!