input: Write a function to calculate the area of a triangle.
  assert area_triangle(10, 5) == 25.0
  assert area_triangle(8, 2) == 8.0
  assert area_triangle(7, 3) == 10.5
output: def area_triangle(base, height):
      return 0.5 * base * height