practicepython.in
python exercises
starting python
Traceback (most recent call last):
  File "scores.py", line 7, in <module>
    print(top_three([72, 95, 88, 61, 90]))
          ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "scores.py", line 4, in top_three
    return ranked[:3]
           ~~~~~~^^^^
TypeError: 'NoneType' object is not subscriptable
your_code.py