This commit is contained in:
bluepython508
2024-01-22 10:56:12 +00:00
parent d320a956f8
commit dc42625cf1
20 changed files with 293 additions and 10 deletions

View File

@@ -0,0 +1,9 @@
#! /usr/bin/env python3
sum = 0
while True:
i = input(f"[{sum:g}]: ")
if not i: break
try:
sum += float(i)
except ValueError: print(f"\t'{i}' is not a number")