how to check if a character is lowercase in python code example
Example 1: how to check if a letter is lowercase in python
for c in s:
if c.islower():
print c
Example 2: python method to check for uppercase character
a="DEMO"
print(a.isupper())
Example 3: python how to detect if uppercase is used in input
isupper()
islower()
Example 4: how to check if a string is lowercase in python
string = "python"
string.islower()
string == string.lower()
Example 5: how to check if letter is uppercase python
how to check if letter is uppercase python