Trying to just generate a random amount of either [ or ].
[
]
sample = random.choice("[]")
The above prints either [ or ], how can I get it to print a random number of either or both of these?
Aucun commentaire:
Enregistrer un commentaire