Python program to calculate the area of a triangle
#################################################
# Language : Python
# Topic: Calculate area of triangle
# Author : Anjeev Singh
#################################################
b = float(input("Enter Base of triangle : "))
h = float(input("Enter Height of triangle : "))
area = (b * h) / 2
print("\n Area of Triangle : ", area)
Output: