Write a function to calculate area of a triangle given height and base


Topic: Write a function to calculate area of a triangle given height and base

Solution

def area_triangle(base, height):
    return 0.5 * base * height



List all Python Programs