The program displays if the side values of the quadrilateral is a square or rectangle. The required program is written in python 3 thus :
a = int(input('Enter integer input : '))
b = int(input('Enter integer input : '))
c = int(input('Enter integer input : '))
d = int(input('Enter integer input : '))
#the variables a, b, c, d takes prompt values from users which are used to compare if the quadrilateral is a square or rectangle.
if(a == b == c == d):
#using the assignment operator, compare the value of a, b, c and d
print('Shape is square')
#if the values are the same, the shape is a square
else :
print('Shape is Rectangle')
#otherwise, the shape is a rectangle
The sample run of the program is attached below.
Learn more : https://brainly.com/question/18405415