Question: PYTHON 3 Area of a triangle program A. create a function with the name LOAD to let user enter two numbers, base and height. B.
PYTHON 3
Area of a triangle program
A. create a function with the name LOAD to let user enter two numbers, base and height.
B. Create a function with the name AREA to calculate the area of a triangle and return the area of the triangle to the main function.
C. Write the MAIN function to call the load and area functions and print the base, height, and area of the triangle in the main function.
Area of a triangle formula: 0.5 x Base x Height
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
