import sys

def add_all(nums):
    return sum(nums)

if __name__ == '__main__':
    command = sys.argv[1]
    nums = map(float, sys.argv[2:])
    if command == 'add':
        print(add_all(nums))

@@ -46,16 +46,85 @@
 (nums)%0A%0A
+def multiply_all(nums):%0A    return reduce(lambda a, b: a * b, nums)%0A%0A
 if __nam
@@ -258,8 +258,74 @@
 (nums))%0A
+    elif command == 'multiply':%0A        print(multiply_all(nums))%0A

Add multiplication support