Python isupper is one of the Python String Method used to check whether the given string has at least one character, and the character is either in uppercase or not. If it is in Uppercase, then the Python isupper function returns True; otherwise, it returns False.
如果运行此命令:
你应该得到:
这是因为
isupper
首先检查是否有多个字符,然后再继续检查其大小写(look here):相关问题 更多 >
编程相关推荐