Answer to Question #291428 in Python for challenge 3

Question #291428

write a program that:

  • asks the user to input the width and height of a rectangle
  • calculates the area
  • outputs the result
1
Expert's answer
2022-01-28T07:59:42-0500
w=float(input('Please input the width of rectangle: '))
h=float(input('Please input the height of rectangle: '))
area=w*h
print('Area is: ', area)

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