📅  最后修改于: 2022-03-11 14:45:12.358000             🧑  作者: Mango
# returns randomized k values from a list, tuple, set
# import random
import random
# return 10 random values from list my_list
random_values = random.sample(my_list, 10)