diff --git a/calculateAverage.py b/calculateAverage.py index 1279c7e..86ad366 100644 --- a/calculateAverage.py +++ b/calculateAverage.py @@ -114,12 +114,6 @@ def process_file( _result[2] += measurements[2] _result[3] += measurements[3] - total = sum(r[3] for r in result.values()) - import sys - if len(sys.argv) > 1: - print(total) - return - # Print final results print("{", end="") for location, measurements in sorted(result.items()): diff --git a/calculateAveragePypy.py b/calculateAveragePypy.py index 28ce737..46cb18c 100644 --- a/calculateAveragePypy.py +++ b/calculateAveragePypy.py @@ -145,12 +145,6 @@ def process_file( _result[2] += measurements[2] _result[3] += measurements[3] - total = sum(r[3] for r in result.values()) - import sys - if len(sys.argv) > 1: - print(total) - return - # Print final results print("{", end="") for location, measurements in sorted(result.items()):