Write a program to print area of triangle in python. In Python, print the Area of Triangle program. This python program will run the program using the triangle’s area and length, and it will print the triangle’s area.
print("Enter the Length") b = float(input()) print("Enter the Height Length") h = float(input()) a = 0.5 * b * h print("\nArea = ", a)
Enter the Length 45
Enter the Height Length 45
Area = 1012.5