Closed stanley940729 closed 2 months ago
#梯形面積,(上底+下底) * 高 / 2 top = 4.5 bottom = 8.0 height = 3.5 area = (top + bottom) * height / 2 print("梯形面積:",area)
程式