8 lines
208 B
Python
8 lines
208 B
Python
# Lesson 2 Task 2: remove duplicates from a list
|
|
# Author: Stanislav Mykhailenko
|
|
# License: Unlicense
|
|
|
|
# Return codes:
|
|
# 0 - OK
|
|
|
|
print(list(dict.fromkeys(input("Enter a comma-separated list: ").split(','))))
|