Python isupper()方法

Python 字符串 Python 字符串

描述

Python isupper() 方法检测字符串中所有的字母是否都为大写。

语法

isupper()方法语法:


str.isupper()

参数

  • 无。