Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

area of a right angle triangle in python

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))
 
PREVIOUS NEXT
Tagged: #area #angle #triangle #python
ADD COMMENT
Topic
Name
4+8 =