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
gordonchu88
2024-10-08T08:39:47.488721Z
a, *b, c = {1,2,3,4,5} print(a) print(b) print(c) l1 = [1,2,3] l2 = 'XYZ' l = [*l1, *l2] print(l)