Created
October 10, 2016 09:00
-
-
Save mrManner/105f4d3ad3ed57553bcc040c8ba9224c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| Python 3.5.2 (default, Dec 2015, 13:05:11) | |
| [GCC 4.8.2] on linux | |
| import random | |
| => None | |
| participants = ["Markus", "Bea", "Olivia", "Linnea", "Fanny", "Adelina", "Savannah", "Fride", "Alexander", "Maj", "Jolene"] | |
| => None | |
| print(participants[random.randint(0, len(participants) - 1)]) | |
| Markus | |
| => None | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment