Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python using random module

import random

my_list = [1, 'a', 32, 'c', 'd', 31]
print(random.choice(my_list))
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #python #random #module
ADD COMMENT
Topic
Name
7+9 =