Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python random

import random
language=['English','Chinese','Hindi','Arabic','Bengali','Portuguese','Russian','Turkish' ]
choices=random.choices(language,k=10)
print(choices)
sample= random.sample(language,k=5)
print(sample)
Source by gist.githubusercontent.com #
 
PREVIOUS NEXT
Tagged: #python #random
ADD COMMENT
Topic
Name
5+8 =