This commit is contained in:
2025-12-11 18:06:09 +05:00
parent bfa7413f9c
commit e98dd2f107
35 changed files with 0 additions and 0 deletions

11
operators_16.py Normal file
View File

@@ -0,0 +1,11 @@
n = int(input("Введите количество районов: "))
total_harvest = 0
for i in range(n):
print(f"\nРайон {i + 1}:")
area = float(input("Введите площадь (га): "))
yield_per_ha = float(input("Введите урожайность (ц/га): "))
total_harvest += area * yield_per_ha
print(f"\nВсего собрано пшеницы: {total_harvest:.1f} ц")