40歲xFun Python
2018年10月2日 星期二
操作String(0)-lower/upper/title
python有內建許多string methods可讓你處理string
upper() - 將string全部轉成大寫後回傳
lower() - 全部轉小寫
title() - 將每個word的第1個字元轉大寫
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言