Remove the current included character and and include it in its uppercase form
output = output [ : - 1 ] NEW_LINE upper = input [ idx ] NEW_LINE upper = upper . upper ( ) NEW_LINE output += upper NEW_LINE generateSubsequences ( input , output , idx + 1 , ans ) NEW_LINE