No Jenkins updates via e-mail

It seems like I have to make a pull request to the wrong location for Jenkins Homework task to respond via E-mail from my git push request.
Interesting use of lists here though a bit advanced for where we were. Simple concatenation would suffice. Good effort, though:

    TEAM1 = ''
    TEAM2 = ''
    TEAM3 = ''
    COUNTER = 0
    for PLAYER in data.MULTIPLAYERS.split('\n')[1:]:
        CONNECTION = int(PLAYER[12])
        PNAME = PLAYER[:11].strip()

        if CONNECTION:
            if COUNTER % 3 == 0:
                TEAM1 += PNAME + ','
            elif COUNTER % 3 == 1:
                TEAM2 += PNAME + ','
            else:
                TEAM3 += PNAME + ','

            COUNTER += 1

        if COUNTER >= 12:
            break

    TEAM1 = TEAM1.rstrip(',')
    TEAM2 = TEAM2.rstrip(',')
    TEAM3 = TEAM3.rstrip(',')