a = 'sdSdsfdAdsdsdfsfdsdASDSDFDSFa' #大小写转换 s = a.swapcase() print(s)
#A变为Z b = s.replace('A','Z') print(b)
#d变为y b = s.replace('d','y') print(b)