cmd+k|ctrl+k
cmd+k
ctrl+k
Navigation
Browse public code snippets.
Contact us about glot.io.
Read the privacy policy.
Manage snippets in your account.
Open your account settings.
Languages
Create a new Python snippet.
Create a new TypeScript snippet.
Create a new C snippet.
Create a new Rust snippet.
Create a new Java snippet.
Python
public
count-francis
2025-09-05T01:19:47.112766Z
2025-09-05T04:45:25.754096Z
s = {1,2,5,6,2,2,'4',2,'r',5,6,6,6,} print(s) # set s='hello world' print(set(s)) print(list(set(s)))