I know that if I want to randomly generate a number I do something like this
import random run = -1 for x in range(5): rand = random.randint(1, 10)
but how can I get a random generation of yes or no instead of numbers?
Aucun commentaire:
Enregistrer un commentaire