summaryrefslogtreecommitdiff
path: root/progs/a795.py
blob: 0321581809f87176860bd2ab8dff67971274ab96 (plain)
1
2
3
def median_trapezium(base1,base2,height):
 median = 0.5 * (base1+ base2)
 return median