Home » Python String | isupper() method with Examples

Python String | isupper() method with Examples

by Online Tutorials Library

Python String isupper() Method

Python isupper() method returns True if all characters in the string are in uppercase. It returns False if characters are not in uppercase.

Signature

Parameters

No parameter is required.

Return

It returns either True or False.

Let’s see some examples of isupper() method to understand it’s functionalities.

Python String isupper() Method Example 1

Output:

True  

Python String isupper() Method Example 2

Output:

True  False  

Python String isupper() Method Example 3

Output:

True  False  True  

Next TopicPython Strings

You may also like