Write a program (must be a .py file) that calculates the perimeter and area of a circle, equilateral triangle, square, and rectangle.
The program should prompt the user the choice of the four shapes.
Then the program should ask for the length of the triangle or square, the radius of the circle, and the two sides of the rectangle.
The program should output the perimeter and area of the chosen shape.
The program should continue to run till the user wants to quit.Write a program (must be a .py file) that calculates the perimeter and area of a circle, equilateral triangle, square, and rectangle.
The program should prompt the user the choice of the four shapes.
Then the program should ask for the length of the triangle or square, the radius of the circle, and the two sides of the rectangle.
The program should output the perimeter and area of the chosen shape.
The program should continue to run till the user wants to quit.
The post Easy coding first appeared on COMPLIANT PAPERS.