About Lesson
islower():-
The islower() method returns True if all the characters are in lower case, otherwise False. Numbers, symbols and spaces are not checked, only alphabet characters.
Syntax:- string.islower()
txt = “hello world!” x = txt.islower() print(x) Output True |
a = “Hello world!” b = “hello 123” c = “mynameisAkhilesh” print(a.islower()) print(b.islower()) print(c.islower()) Output False True False |