Important Notice:

Course Content
The Calendar Module
Library Function/Predefined Functions
0/4
Sys Module
Library Function/Predefined Functions
0/2
OS Module
Library Function/Predefined Functions
0/2
Functions in Python (Chapter-10) M3-R5
About Lesson

isupper():-

        The isupper() method returns True if all the characters are in upper case, otherwise False. Numbers, symbols and spaces are not checked, only alphabet characters.

Syntax:-                       string.isupper()

txt = “THIS IS NOW!”

x = txt.isupper()

print(x)

Output

True

a = “Hello World!”

b = “hello 123”

c = “MY NAME IS AKHILESH”

print(a.isupper())

print(b.isupper())

print(c.isupper())

Output

False

False

True

error: Content is protected !!