prog2_5.py

a = 9
b = 12
h = 5
s = (a + b) * h / 2
print(s)

# プログラム2-5(台形の面積)