Помогите, пожалуйста. Баллы не пожалею) Определите функцию, которая вычисляет площадь круга по его радиусу.на языке python.
Ответы на вопрос
Ответил archery
1
Код:
import math
def circle_square(r):
return r**2 * math.pi
print(circle_square(5))
vasilisa020686:
Можешь объяснить print(circle_square(5)) прчему 5?
area = Radius** 2 * math.pi
return area
Radius = float(input("Please enter the radius of the given circle: "))
print(" The area of the given circle is: ", area_of_the_circle(Radius))
Новые вопросы