Let's learn how to calculate the perimeter of a rectangle using Python step by step. Step 1: Understand the problem We need to write a program that calculates the perimeter of a rectangle. The formula ...
print("1.Triangle \n2.Square \n3.Rectangle \n4.Circle \n5.Trapezium") option = int(input("Enter a number between 1 to 4 to perform the operation : ")) b = int(input ...