practicepython.in
python exercises
starting python
Traceback (most recent call last):
  File "readings.py", line 9, in <module>
    print(daily_changes([12, 15, 11, 18]))
          ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  File "readings.py", line 5, in daily_changes
    changes.append(readings[i + 1] - readings[i])
                   ~~~~~~~~^^^^^^^
IndexError: list index out of range
your_code.py