Challenge
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 4. Kapittel 4