def area_trapezium(base1,base2,height): area = 0.5 * (base1 + base2) * height return area