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
chausage
2024-12-03T08:18:44.19738Z
2024-12-03T08:21:05.767771Z
lst=[1,2,3,4,5] #seq: [-5,-4,-3,-2,-1] l1=lst[-2:-4:-1]# [start:end-1:step] print(l1)