一些新的函数的使用 1 swapcase函数的使用:将小写字母大写,大写字母小写 例: txt = "Hello My Name Is Elon" x = txt.swapcase() print(x)