with open('6-1 input.txt') as file:
    data = file.read().split('\n\n')
    data = [x.replace('\n', '') for x in data]


def count_unique_letters(string):
    s = ''
    for L in string:
        if L not in s:
            s += L
    return len(s)


counts = [count_unique_letters(x) for x in data]
print('Ans to 6-1:', sum(counts))

5348b353e9a34d2f715b1d324a730936ba6e419e
<mask token>

<mask token>


def count_unique_letters(string):
    s = ''
    for L in string:
        if L not in s:
            s += L
    return len(s)


<mask token>

with open('6-1 input.txt') as file:
    data = file.read().split('\n\n')
    data = [x.replace('\n', '') for x in data]


def count_unique_letters(string):
    s = ''
    for L in string:
        if L not in s:
            s += L
    return len(s)


<mask token>
print('Ans to 6-1:', sum(counts))

with open('6-1 input.txt') as file:
    data = file.read().split('\n\n')
    data = [x.replace('\n', '') for x in data]


def count_unique_letters(string):
    s = ''
    for L in string:
        if L not in s:
            s += L
    return len(s)


counts = [count_unique_letters(x) for x in data]
print('Ans to 6-1:', sum(counts))
