DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python dict get random key
random.choice(list(my_dict))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#dict
#random
#key
ADD COMMENT
Topic
COMMENT
Name
1+1 =
Submit