DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+9 =
Submit