samedi 23 janvier 2021

How to randomly choose a list out of 4 lists?

I have 3 lists, every time I want randomly pick any of the items. How can I do that?

fruit_list = ['apple', 'orange', 'mango']
transport_list = ['car', 'bus', 'ship']
animal_list = ['cat', 'dog', 'Tiger']



Aucun commentaire:

Enregistrer un commentaire