class RemoveAdjaPairs:
    def removeAdjaPairs(self):
        string = "aaaagykkok"
        newString = ""
        pairRemoved = False

        nextChar = ""


        for character in range(len(string)):
            print(string[character])
            nextChar = string[character] + 1
            if string[character] is nextChar:
                pairRemoved = True
            else:
                newString += string[character]


if __name__ == '__main__':
    my_testReverStr = RemoveAdjaPairs()
    my_testReverStr.removeAdjaPairs()
c6db0de5ae8e0ba898b15327ce863397635d58c7
<mask token>

class RemoveAdjaPairs:
    <mask token>


<mask token>

class RemoveAdjaPairs:

    def removeAdjaPairs(self):
        string = 'aaaagykkok'
        newString = ''
        pairRemoved = False
        nextChar = ''
        for character in range(len(string)):
            print(string[character])
            nextChar = string[character] + 1
            if string[character] is nextChar:
                pairRemoved = True
            else:
                newString += string[character]


<mask token>

class RemoveAdjaPairs:

    def removeAdjaPairs(self):
        string = 'aaaagykkok'
        newString = ''
        pairRemoved = False
        nextChar = ''
        for character in range(len(string)):
            print(string[character])
            nextChar = string[character] + 1
            if string[character] is nextChar:
                pairRemoved = True
            else:
                newString += string[character]


if __name__ == '__main__':
    my_testReverStr = RemoveAdjaPairs()
    my_testReverStr.removeAdjaPairs()

class RemoveAdjaPairs:
    def removeAdjaPairs(self):
        string = "aaaagykkok"
        newString = ""
        pairRemoved = False

        nextChar = ""


        for character in range(len(string)):
            print(string[character])
            nextChar = string[character] + 1
            if string[character] is nextChar:
                pairRemoved = True
            else:
                newString += string[character]


if __name__ == '__main__':
    my_testReverStr = RemoveAdjaPairs()
    my_testReverStr.removeAdjaPairs()