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

bookChallenge

Previously you solved the problem of calculating the circle area in Python for particular radius. Let's implement the function that will receive one parameter (radius) and print the circle area.

Tarea

Swipe to start coding

  1. Define function circle_area with one parameter R.
  2. Within the function body calculate a circle area using math.pi and R (multiply π by the square of the radius), and assign the result to the S variable.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 4. Capítulo 6
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

close

Awesome!

Completion rate improved to 2.7

bookChallenge

Desliza para mostrar el menú

Previously you solved the problem of calculating the circle area in Python for particular radius. Let's implement the function that will receive one parameter (radius) and print the circle area.

Tarea

Swipe to start coding

  1. Define function circle_area with one parameter R.
  2. Within the function body calculate a circle area using math.pi and R (multiply π by the square of the radius), and assign the result to the S variable.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

close

Awesome!

Completion rate improved to 2.7
Sección 4. Capítulo 6
single

single

some-alt