DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
random array in python
import random Items = ["Item1", "Item2", "Item3", "Item4", "Item5"] print(random.choice (Items))
PREVIOUS
NEXT
Tagged:
#random
#array
#python
ADD COMMENT
Topic
COMMENT
Name
3+5 =
Submit