samedi 16 novembre 2019

How can i get 3 random numbers as output from a list in python?

Example i have a 10 items list like below, test_list = [1, 4, 5, 2, 7, 3, 6, 8, 9, 10] so my question is how can i get 3 random numbers as output, is there any way to get it?




Aucun commentaire:

Enregistrer un commentaire