Add sum.py.

This commit is contained in:
voussoir 2020-01-19 10:56:54 -08:00
parent 5806930198
commit 3c757fcba4

5
sum.py Normal file
View file

@ -0,0 +1,5 @@
from voussoirkit import pipeable
total = sum(float(x) for x in pipeable.go() if x.strip())
pipeable.output(f'{total}\n')