Challenge
Opgave
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
.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 4. Kapitel 4