BetaUnder construction. Questions are being reviewed by teachers — enjoy the free practice in the meantime.
Python basics · Exercise
Area of a circle
Write a function circle_area(radius) that returns the area of a circle. Use math.pi and round your answer to 2 decimal places. Hint: Area = pi x r x r. The round(value, 2) function rounds to 2 decimal places.