为什么'a'.translate({'a':'b'})返回'a'而不是'b'?我正在使用Python 3.
'a'.translate({'a':'b'})
'a'
'b'
python python-3.x
python ×1
python-3.x ×1