• Предмет: Информатика
  • Автор: andreyoziumenko2019
  • Вопрос задан 1 год назад

Пайтон пожалуйста помогите дам 30 балов​

Приложения:

Ответы

Ответ дал: nagorniyyarik08
0

Відповідь:

import math

radius = float(input("Enter the radius of the flower bed (in meters): "))

fence_length = 2 * math.pi * radius

area = math.pi * radius ** 2

num_seedlings = int(area)

print("To enclose a flower bed with a radius of", radius, "meters, you need", fence_length, "meters of fence.")

print("To cover the flower bed with seedlings, you need", num_seedlings, "seedlings.")

Пояснення:

Вас заинтересует