if x is equal to a lower string python code example
Example: 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
string = "python"
string.islower()
#returns true or false
#or we can use this
string == string.lower()
#returns true or false