Given a variable n.
n
Now I want to print "Yes" n times then "No" n times
"Yes"
"No"
and then repeat the entire thing over and over.
How to do this in Python in shortest possible manner. I am looking for something succinct.
Aucun commentaire:
Enregistrer un commentaire