Python program to find area of triangle when height and base are given

0
19
height=float(input("Enter height of triangle "))
base=float(input("Enter base of triangle "))
area=(height*base)/2;     #calculate the area
print("\n area of triangle using",height,"and",base,"=",area);
   Output:
   Enter height of triangle 4
   Enter base of triangle 3

    area of triangle using 4.0 and 3.0 = 6.0

 

 

 

Python program to find area of triangle when height and base are given program to find area of triangle when height and base are given in python write a program to find area of triangle when height and base are given write a program to find area of triangle when height and base are given in python Write a program to find area of triangle program to find area of triangle in python Python program to find the area of triangle program of area of triangle in python program of find the area of triangle area of triangle program area of triangle program in python

LEAVE A REPLY

Please enter your comment!
Please enter your name here