+ 1

Does the Import Module shows random strings rather than numbers(randint)?

Alternatively, is there such thing as "random.randstr" in the random module?

16th Jul 2017, 3:15 PM
Pow M. Rigor
Pow M. Rigor - avatar
1 Respuesta
0
see, docs.python.org/3.5/library/random.HTML there is no random string, though, there is random char : random.choice('asdfghjkl') -> 'd'
17th Jul 2017, 10:16 PM
yuri