Skip to content

Instantly share code, notes, and snippets.

@mrManner
Created October 10, 2016 09:00
Show Gist options
  • Select an option

  • Save mrManner/105f4d3ad3ed57553bcc040c8ba9224c to your computer and use it in GitHub Desktop.

Select an option

Save mrManner/105f4d3ad3ed57553bcc040c8ba9224c to your computer and use it in GitHub Desktop.
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