PYTHON

Write a python program to calculate Area of a triangle with Base and Height

base= float(input("Enter the base of a Traigle : -")) height= float(input("Enter the height of a Traigle : -")) area = 0.5* base * height print("The area of a Traingle is :- ",area)

OUTPUT….

Leave a Reply

Your email address will not be published. Required fields are marked *