I am trying to import a list of items from a text file to my python program.
The program then needs to randomly select one of those items.
After selecting one of those items it needs to remove the item from the list and go on to pick another 5 items at random and still removing them.
I have been trying to find a solution for this but not getting far, if anyone could come up with a solution of code for this i would greatly appreciate it.
Thanks.
Aucun commentaire:
Enregistrer un commentaire