- Joined
- Oct 27, 2019

- Messages
- 1

- Reaction score
- 0

How do I fix this error

• Write/define a function

• Write/define a function

• Use the above functions to**print**the result.

• Write/define a function

**area_circle**that__takes in the radius__to calculate and return the__area of a circle__.*(Note: You can take pi to be 3.142)*• Write/define a function

**area_triangle**that takes in the__base and height__to calculate and return the__area of a triangle__.*(Note: Area of triangle = (base * height) /2)*• Use the above functions to

**calculate**the total area of the shaded region in the figure below and