# python program to find the area of the triangle

base = float(input('Enter the base of the triangle: '))
height = float(input('Enter the height of the triangle: '))

# calculate area of triangle
area = (1/2) * base * height

# display result
print('Area of triangle = ',area)