lundi 15 août 2016

random strings - Python [duplicate]

This question already has an answer here:

I wanted to know how to print a random string in python. I want this to be a random string like "ayhbygb", and be a random amount of letters long. So like, one time it could print "a", the next time it could print "aiubfiub", or "aiuhiu", etc.

Could someone tell me how this would be done?




Aucun commentaire:

Enregistrer un commentaire