0

Is it possible to generate a random String between 1 and 3 in Python?

I need it for a code

11th Jan 2018, 6:14 PM
Xontus
1 Antwort
0
Are you looking for this? import random print (str(random.randint(1, 3)))
11th Jan 2018, 6:31 PM
Sebastian Keßler
Sebastian Keßler - avatar