セクション 4. 章 6
single
Challenge
メニューを表示するにはスワイプしてください
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.
タスク
スワイプしてコーディングを開始
- Define function
circle_areawith one parameterR. - Within the function body calculate a circle area using
math.piandR(multiply π by the square of the radius), and assign the result to theSvariable.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 4. 章 6
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください