Python 字符串 lower() 方法实例定义和用法语法参数值Python 字符串 lower() 方法实例小写字符串: txt = "Hello my FRIENDS" x = txt.lower() print(x) 定义和用法lower() 方法返回一个字符串,其中所有字符均为小写。 符号和数字将被忽略。 语法string.lower() 参数值无参数