Challenge
Task
Swipe to start coding
The area of a circle can be calculated by multiplying Ο by the square of the radius. You need to calculate the area of the circle with the radius of 5
using Python and math
library (variable R
).
- Import
math
library. - Perform a multiplication of
pi
(the constant of themath
library) by the square ofR
.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 4. ChapterΒ 4