This repository has been archived on 2024-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
NG_2022_Stanislav_Mykhailenko/Lesson_2/task2.py
Stanislav Mykhailenko d92ba9f0ed
Remove extra newline
2022-10-27 18:27:36 +03:00

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(','))))