diff --git a/sum.py b/sum.py new file mode 100644 index 0000000..6b14f23 --- /dev/null +++ b/sum.py @@ -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')