Answer to Question #37757 in Python for Victor

Question #37757
design a program that asks for the length and the width of a square. the program should tell the user if the length and width are equal or not
1
Expert's answer
2013-12-18T09:18:47-0500
print('Typing the length and the width of the square...')
length = input('Enter length: ')
width = input('Enter width: ')
if length == width:
print('length and width are equals')
else:
print('length and width are not equals')

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS