letters = ['a', 'b', 'c', 'd']

print(letters.index('a'))  # 0

if 'e' in letters:
    print(letters.index('e'))

    print(letters.count('d'))  # 1
    print(letters.count('e'))  # 0


def count_sheep(n):
    x = range(n)
    res = []
    for num in x:
        res.append(f'{num+1} sheep...')
    return res


print(count_sheep(4))

4c365db38484cea2faed78c2145190ed8799fbc7
<mask token>

<mask token>


def count_sheep(n):
    x = range(n)
    res = []
    for num in x:
        res.append(f'{num + 1} sheep...')
    return res


<mask token>

<mask token>
print(letters.index('a'))
if 'e' in letters:
    print(letters.index('e'))
    print(letters.count('d'))
    print(letters.count('e'))


def count_sheep(n):
    x = range(n)
    res = []
    for num in x:
        res.append(f'{num + 1} sheep...')
    return res


print(count_sheep(4))

letters = ['a', 'b', 'c', 'd']
print(letters.index('a'))
if 'e' in letters:
    print(letters.index('e'))
    print(letters.count('d'))
    print(letters.count('e'))


def count_sheep(n):
    x = range(n)
    res = []
    for num in x:
        res.append(f'{num + 1} sheep...')
    return res


print(count_sheep(4))

letters = ['a', 'b', 'c', 'd']

print(letters.index('a'))  # 0

if 'e' in letters:
    print(letters.index('e'))

    print(letters.count('d'))  # 1
    print(letters.count('e'))  # 0


def count_sheep(n):
    x = range(n)
    res = []
    for num in x:
        res.append(f'{num+1} sheep...')
    return res


print(count_sheep(4))
