#-------------------------------------------------------------------------------
# Name:        module1
# Purpose:
#
# Author:      v.osipov
#
# Created:     27.10.2018
# Copyright:   (c) v.osipov 2018
# Licence:     <your licence>
#-------------------------------------------------------------------------------

a = [1, 5, 4, 9, 4]
b = []
for c in a:
    if c not in b:
        b.append(c)
print(b)

a = [1, 5, 4, 9, 4]
b = []
for c in a:
    if a.count(c) == 1:
        b.append(c)
print(b)
ccf508d9f718fec6d2b3282e28a2fa46e0b7e72e
<mask token>

<mask token>
for c in a:
    if c not in b:
        b.append(c)
print(b)
<mask token>
for c in a:
    if a.count(c) == 1:
        b.append(c)
print(b)

a = [1, 5, 4, 9, 4]
b = []
for c in a:
    if c not in b:
        b.append(c)
print(b)
a = [1, 5, 4, 9, 4]
b = []
for c in a:
    if a.count(c) == 1:
        b.append(c)
print(b)

#-------------------------------------------------------------------------------
# Name:        module1
# Purpose:
#
# Author:      v.osipov
#
# Created:     27.10.2018
# Copyright:   (c) v.osipov 2018
# Licence:     <your licence>
#-------------------------------------------------------------------------------

a = [1, 5, 4, 9, 4]
b = []
for c in a:
    if c not in b:
        b.append(c)
print(b)

a = [1, 5, 4, 9, 4]
b = []
for c in a:
    if a.count(c) == 1:
        b.append(c)
print(b)