def swap_case(s):
    finalString = ""
    for char in s:
        if char.islower():
            char = char.upper()
            finalString += char
        else:
            char = char.lower()
            finalString += char
    return finalString
        
    
 
    
    

    
    
   
        
        
    



    
    
   
 