Python 字符串方法
小寫字符串:
txt = "Hello my FRIENDS" x = txt.lower() print(x)
運行實例
lower() 方法返回一個字符串,其中所有字符均為小寫。
符號和數字將被忽略。
string.lower()
無參數