Select Random Item From A Lists

Want to learn more? I recommend these Python books: Python for Data Analysis, Python Data Science Handbook, and Introduction to Machine Learning with Python.

Preliminaries

from random import choice

Create List

# Make a list of crew members
crew_members = ['Steve', 'Stacy', 'Miller', 'Chris', 'Bill', 'Jack']

Select Random Item From List

# Choose a random crew member
choice(crew_members)
'Stacy'