[ad_1]
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
[ad_2]
solved Base58 Random String generator