Python String isupper() method

The String.isupper() method in Python returns a boolean value ‘true’ if all cased characters in the string are uppercase else for any other value is returns false.

Syntax

Parameter

NA

Return

This method returns a Boolean value true if all the characters in the specified string are uppercased else it returns false.

Example 1

Output

Example 2

Output

Example 3

Output

Pin It on Pinterest

Share This