- 問答申論題
要介紹Python字串物件的的方法:str.upper(), 以下為官方網站文件的介紹 st.
- str.upper()
Return a copy of the string with all the cased characters 4 converted to uppercase. Note that s.upper().isupper() might be False if s contains uncased characters or if the Unicode category of the resulting character(s) is not “Lu” (Letter, uppercase), but e.g. “Lt” (Letter, titlecase).
The uppercasing algorithm used is described in section 3.13 of the Unicode Standard.
2 .程 式實作題
https://repl.it/@xiangjing1102/SolidThirstyServices