它返回一個布林值,如果字串中的所有字母都是大寫,則返回True,否則返回False。 pythonCopy code# 使用isupper() 函數檢查字串是否都是大寫 string = " ...
確定! 回上一頁