Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
mylist = ["a", "b", "a", "c", "c"] mylist = list(dict.fromkeys(mylist)) print(mylist)
x
mylist
=
[
"a"
,
"b"
,
"a"
,
"c"
,
"c"
]
mylist
=
list
(
dict
.
fromkeys
(
mylist
))
print
(
mylist
)
['a', 'b', 'c']