Question: Write a function called circle_area, which is passed the radius r of a circle and returns the circle's area. Remember that the area of a

Write a function called circle_area, which is passed the radius r of a circle and returns the circle's area. Remember that the area of a circle of radius r is (pi)r^2. For example:

>>> circle_area(1)

3.14159265358793 # pi

>>> circle_area(2.5)

19.634954084936208 # pi*2.5

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!