python program to calculate area of a triangle | Learn Coding

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

we can do this in simple mannner as area of triangle is 1/2 b*h that program goes follows
# Get the base and height from the user
base = float(input("Enter the base of the triangle: "))
height = float(input("Enter the height of the triangle: "))

# Calculate the area of the triangle
area = (base * height) / 2

# Print the result
print("The area of the triangle is:", area)

I think this one is more simpler and easy to understand...

anurodhpatil
Автор

sir please data structure and algorithm in python me video upload kijiye

bikashGaming
Автор

How to fetch data in Excel and how to fetch the data from webtable in selenium with java video banaye

jayeshphadale
Автор

Sir aise hi C++ ka tutorial bhi di jiye

thesbnation
Автор

Computer ki all short keys ke bare main vide banao please

manojshakyabhavru