jeudi 28 juillet 2022

How to randomly take an element from a list and put in into a different list but delete that same element from the list you that took from? [closed]

test_list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 11, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 11]
user_numbers = []
user_numbers.append(random.sample(deck))



Aucun commentaire:

Enregistrer un commentaire