After making a few changes to my list() method, running my program started giving me this error:
Traceback (most recent call last): File "