This condition checks if w [ i ] is any lowercase letter apart from letter . If true replace it with letter
elif ( w [ i ] >= ' a ' and w [ i ] <= ' z ' ) : NEW_LINE INDENT w [ i ] = letter NEW_LINE DEDENT