DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
How do I create a list of random numbers with duplicate python
import random dupl_list = [random.randint(1,50) for x in range(20)] print (dupl_list)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#How
#I
#create
#list
#random
#numbers
#duplicate
#python
ADD COMMENT
Topic
COMMENT
Name
7+8 =
Submit