Painting Blue Code
Simple, self-explanatory code snippets.
2020-08-14
Python - Remove list duplicate values
l = [1,1,2,3,1,1,1,4,5,6,1]
print(
dict.fromkeys
(l).
keys
())
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment