Python random.choice() Method
The random.choice() method returns a random element from a non-empty sequence.
Syntax
random.choice(seq)
Return Value
A random element from the sequence.
Example
Output
Click Run to execute your code