Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
secret_santa_original_exception.py
Traceback (most recent call last):
File "santa/not_modified.py", line 13, in <module>
random.shuffle(osoby)
File "python3.7/random.py", line 278, in shuffle
x[i], x[j] = x[j], x[i]
TypeError: 'str' object does not support item assignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment