It removes i characters starting from index 0
Str = Str [ i : ] NEW_LINE return Str NEW_LINE def findPairs ( Sum , K ) : NEW_LINE A = " " NEW_LINE B = " " NEW_LINE N = str ( Sum ) NEW_LINE n = len ( N ) NEW_LINE