📅  最后修改于: 2022-03-11 14:45:50.306000             🧑  作者: Mango
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)