print("The area of a trapezoid")
h=input("Enter height: ")
top=input("Enter top length: ")
bottom=input("Enter bottom length: ")
h=float(h)
top=float(top)
bottom=float(bottom)
area=0.5*(top+bottom)*h
print("The area is ", area)