Python swapcase()

来源:互联网 发布:qq游戏网络异常 编辑:程序博客网 时间:2024/06/09 14:08


Python swapcase() 方法用于对字符串的大小写字母进行转换。


swapcase()方法语法:

str.swapcase();
原创粉丝点击