I have the following string:
stringone = '0123456789 abcdefghijklmnopqrstuvwxys ABCDEFGHIJKLMNOPQRSTUVWXYS'
And I need to do the following replaces:
0 = s
1 = 6
2 = r
...
Z = F
But I need to do them in once. I mean, not
stringone.replace('0', 's')
stringone.replace('1', '6')
...not like that, but in one line. Can I do it, for example, like
stringone.replace('0', 's'; '1', '6')
I don't know how to do it. Can you help me? Python 3.6.0