#VRMNIC005
#Assugnment 7, question 1

def no_duplicates():
    strings = []
    new_string = input("Enter strings (end with DONE): \n")

    while new_string != "DONE":
        if new_string not in strings:
            # first occurrence of string is added to list
            strings.append(new_string)
        new_string = input()

    print("\nUnique list:")
    for string in strings:
        print(string)

no_duplicates()

746da50fdd2fc7eb2e1c97419fb0b23b523f630e
<mask token>

def no_duplicates():
    strings = []
    new_string = input('Enter strings (end with DONE): \n')
    while new_string != 'DONE':
        if new_string not in strings:
            strings.append(new_string)
        new_string = input()
    print('\nUnique list:')
    for string in strings:
        print(string)


<mask token>

def no_duplicates():
    strings = []
    new_string = input('Enter strings (end with DONE): \n')
    while new_string != 'DONE':
        if new_string not in strings:
            strings.append(new_string)
        new_string = input()
    print('\nUnique list:')
    for string in strings:
        print(string)


no_duplicates()

#VRMNIC005
#Assugnment 7, question 1

def no_duplicates():
    strings = []
    new_string = input("Enter strings (end with DONE): \n")

    while new_string != "DONE":
        if new_string not in strings:
            # first occurrence of string is added to list
            strings.append(new_string)
        new_string = input()

    print("\nUnique list:")
    for string in strings:
        print(string)

no_duplicates()
