roberthsu2003 / __2024_05_05_sunday__

AI 人工智慧開發入門_python
29 stars 2 forks source link

以下是我的程式碼 #6

Closed shadow40744398 closed 2 months ago

shadow40744398 commented 2 months ago

梯形面積,(上底+下底)*高/2

top=4.5
bottom=8.0
height=3.5

area=(top+bottom)*height/2
print("梯形面積",area)``

_Originally posted by @shadow40744398 in https://github.com/roberthsu2003/__2024_05_05_sunday__/issues/1#issuecomment-2094659225_