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

12
operators_17.py Normal file
View File

@@ -0,0 +1,12 @@
total_sum = 0
count = 0
while True:
num = int(input("Введите число (0 для завершения): "))
if num == 0:
break
total_sum += num
count += 1
print(f"Сумма: {total_sum}")
print(f"Количество: {count}")