Python Program to Calculate Area of a Triangle
To calculate area of a triangle we use the formula area=(base*length)/2
#Python program to calculate area of a triangle
b= float(input("Enter base: "))
h= float(input("Enter height: "))
print("Area of the triangle = ", area)
Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more.
Sign Up for our weekly newsletter to get update about new content.