Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge | Functions and Modules
Introduction to Data Analysis in Python

bookChallenge

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).

  1. Import math library.
  2. Perform a multiplication of pi (the constant of the math library) by the square of R.

Løsning

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 4. Kapitel 4
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Suggested prompts:

Opsummér dette kapitel

Explain code

Explain why doesn't solve task

close

bookChallenge

Stryg for at vise menuen

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).

  1. Import math library.
  2. Perform a multiplication of pi (the constant of the math library) by the square of R.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 4. Kapitel 4
single

single

some-alt