Question: Write a function that computes the area of a triangle given its base and height. The formula for an area of a triangle is: AREA

Write a function that computes the area of a triangle given its base and height.
The formula for an area of a triangle is:
AREA =12** BASE ** HEIGHT
For example, if the base was 5 and the height was 4, the area would be 10. triangle_area (5,4); # should print 10
Your function must be named triangle_area
Note: Be sure to include comments for all functions that you use or create.
 Write a function that computes the area of a triangle given

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!