學習筆記(03):Python 面試100講(基於Python3.x)-改變字符串首字母的大小寫

當即學習:https://edu.csdn.net/course/play/26755/340113?utm_source=blogtoeduapi 1.字符串大小寫:學習 str = "www.runoob.com" print(str.upper()) # 把全部字符中的小寫字母轉換成大寫字母 print(str.lower()) #
相關文章
相關標籤/搜索