samedi 27 juin 2015

Repeat print after every n prints

Given a variable n.

Now I want to print "Yes" n times then "No" n times

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