收起
【相关推荐】
intable = 'abcl' outtable = 'ABCy' table=str.maketrans(intable,outtable) 'abcd-abc1-123'.translate(table)
'ABCd-ABC1-123'
报告相同问题?