How do I select a random element from an array in Python?
PythonArraysRandomPython Problem Overview
The first examples that I googled didn't work. This should be trivial, right?
Python Solutions
Solution 1 - Python
import random
random.choice (mylist)
Solution 2 - Python
import random
random.choice([1, 2, 3])