Add sum.py.
This commit is contained in:
parent
5806930198
commit
3c757fcba4
1 changed files with 5 additions and 0 deletions
5
sum.py
Normal file
5
sum.py
Normal 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')
|
Loading…
Reference in a new issue