Question: tray _ width = float ( input ( ' What is the width of the tray? ' ) ) tray _ height = float (

tray_width=float(input('What is the width of the tray?'))
tray_height=float(input('What is the height of the tray?')
tray_area=float(tray_width*tray_height)
print("the tray has a width of", tray_width and "and height", tray_height and "and area", tray_area)
why does this not print the value for tray_width and tray_height in python

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!