vendredi 13 septembre 2019

How do i make python say something again that i made it pick randomly from a list

i used print(random.sample(My_List,k=2)) then python choose 2 things from my list randomly how can i tell python to print one of the two random things it picked for for me

for example

print("My personal favorite from those two would be ..." i dont know what to do after that so it can say one thing from what it randomly picked from me




Aucun commentaire:

Enregistrer un commentaire