Write a function to check if a lower case letter exists in a given string


Topic: Write a function to check if a lower case letter exists in a given string

Solution

def check_lower(str1):
    
    for char in str1: 
        k = char.islower()   
        if k == True: 
            return True 
    if(k != 1): 
        return False



List all Python Programs