[Solved] Base58 Random String generator


In python 2.7 you can use random.choice (singular) and have it executed on a range:

x = ''.join(random.choice('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz')
             for _ in range(4))

5

solved Base58 Random String generator