Skip to main content

Posts

Showing posts with the label # Write a Python program to enter base and height of a triangle and find its area.

ads1

Python basic , 13. Write a Python program to enter base and height of a triangle and find its area.

  13.   Write a Python program to enter base and height of a triangle and find its area. Solution :- base = int(input("Enter the base of a traingle :- ")) height = int(input("Enter the Height of a traingle :- ")) area = 0.5*base*height print("The area of a Traingle is :- ",area) Output :-

ads2