How do I select a random element from an array in Python?
import random
random.choice (mylist)
import random
random.choice([1, 2, 3])
import random
random.choice (mylist)
import random
random.choice([1, 2, 3])