Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

area of trapezium

height = float(input("Height of trapezoid: "))
base_1 = float(input('Base one value: '))
base_2 = float(input('Base two value: '))
area = ((base_1 + base_2) / 2) * height
print("Area is:", area)
 
PREVIOUS NEXT
Tagged: #area #trapezium
ADD COMMENT
Topic
Name
1+4 =