Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 台形の面積を求める
a = 2
b = 3
h = 4
daikei = (a + b) * h / 2
print("台形の面積は", daikei, "cm2")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment