input: Write a python function to calculate the area of a triangle given its base length and height.
  assert triangle_area(10, 5) == 25.0
  assert triangle_area(7, 3) == 10.5
  assert triangle_area(6, 8) == 24.0
output: def triangle_area(base, height):
      return 0.5 * base * height