-
-
Save gkocjan/2b363702e1f56e57e1e2a927c1396c31 to your computer and use it in GitHub Desktop.
gifts_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 "/demo/santa/first_iteration.py", line 12, in <module> | |
recipient = random.choice(potential_gift_recipient) | |
File "/lib/python3.7/random.py", line 261, in choice | |
raise IndexError('Cannot choose from an empty sequence') from None | |
IndexError: Cannot choose from an empty sequence |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment