list = [1, 3, 5, 6, 3, 5, 6, 1]
print("The original list is : " + str(list))

res = []
for i in list:
    if i not in res:
        res.append(i)

    # printing list after removal
print("The list after removing duplicates : " + str(res))  

output:
The original list is : [1, 3, 5, 6, 3, 5, 6, 1]
The list after removing duplicates : [1, 3, 5, 6]
