secret_santa_original_exception.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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