Update q5_compute_series.py