string.islower()
The islower() method returns:
string = 'this is good'print(string.islower())string = 'th!s is a1so g00d'print(string.islower())string = 'this is Not good'print(string.islower())
string = 'this is good'if string.islower() == True:print('Does not contain uppercase letter.')else:print('Contains uppercase letter.')string = 'this is Good'if string.islower() == True:print('Does not contain uppercase letter.')else:print('Contains uppercase letter.')
**********END OF ARTICLE **********
Comments