Python Program to calculate the area of triangle Posted by Shrinidhi Katti Get link Facebook X Pinterest Email Other Apps base=float(input("Enter the base of the triangle")) height=float(input("Enter the height of the triangle")) area=0.5*base*height print("The area of the triangle is",area) Comments
Comments
Post a Comment