summaryrefslogtreecommitdiff
path: root/progs/a247.py
blob: 8b70c3cdbfb74ab1a4eaaa1ce76310d6fbbbab34 (plain)
1
2
3
def area_trapezium(base1,base2,height):
 area = 0.5 * (base1 + base2) * height
 return area