Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge | Functions and Modules
Introduction to Data Analysis in Python
Seção 4. Capítulo 6
single

single

Challenge

Deslize para mostrar o menu

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.

Tarefa

Deslize para começar a programar

  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.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 4. Capítulo 6
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

some-alt