samedi 15 avril 2017

How to print these outputs on the same line?

The code is this:

for i in range(0, 20):
        print(random.choice(string.ascii_letters + string.digits + string.punctuation)) 

Alas, it prints each character on a new line. How do I make them print on one?




Aucun commentaire:

Enregistrer un commentaire