def films():
    temp = []
    # n = 0
    cont = True
    while cont is True:
        film = input("What is a favourite film of yours? ")
        temp.append(film)
        carry = input("Any more? (Y/N) ")
        if carry.lower() == "y":
            continue
        else:
            cont = False
    return temp


print(films())
2ff071339cd507139eb46352cb808d1a194a0c5a
<mask token>

def films():
    temp = []
    cont = True
    while cont is True:
        film = input('What is a favourite film of yours? ')
        temp.append(film)
        carry = input('Any more? (Y/N) ')
        if carry.lower() == 'y':
            continue
        else:
            cont = False
    return temp


<mask token>

def films():
    temp = []
    cont = True
    while cont is True:
        film = input('What is a favourite film of yours? ')
        temp.append(film)
        carry = input('Any more? (Y/N) ')
        if carry.lower() == 'y':
            continue
        else:
            cont = False
    return temp


print(films())

def films():
    temp = []
    # n = 0
    cont = True
    while cont is True:
        film = input("What is a favourite film of yours? ")
        temp.append(film)
        carry = input("Any more? (Y/N) ")
        if carry.lower() == "y":
            continue
        else:
            cont = False
    return temp


print(films())