📜  python代码示例中直角三角形的面积

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

代码示例1
h = int(input("Enter the height of the triangle"))
b = int(input("Enter the base of the triangle"))
A = 0.5 * b * h
print("Area is: ", (A))