Question: Write a program that takes values of length and breadth of a rectangle from the user and check if the shape is square or not.

Write a program that takes values of length and breadth of a rectangle from the user and check if the shape is square or not.
PS C:\Users\mvimalcruz\Desktop\Python\Lab\Lab 3> & "C:/Program Files/Python39/python.exe" "c:/Users/mvimalcruz/Desktop/Python/Lab/Lab 3/lab3_20.py"
Output:
Enter the width and breath values
12
14
Rectangle
PS C: \Users\mvimalcruz\Desktop\Python\Lab\Lab 3>& "C:/Program Files/Python39/python.exe"
"c:/Users/mvimalcruz/Desktop/Python/Lab/Lab 3/lab3_20.py"
Write a program that takes values of length and

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 Programming Questions!