📜  三角形面积 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:53.341000             🧑  作者: Mango

代码示例1
#program for finding area of triangle
height = int(input("Enter the height of the triangle"))
base=int(input("Enter the base of the triangle"))
Area = height*base/2
print("Area is: ", (Area))
......................................................
output:
Enter the height of the triangle
Enter the base of the triangle
Area is:
------------------------------------------------------