Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check if a string is lowercase in python

string = "python"
string.islower()
#returns true or false

#or we can use this

string == string.lower()
#returns true or false
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #string #lowercase #python
ADD COMMENT
Topic
Name
2+6 =