Appearance
a = [1, 2, 3, 4, 5] print(a[-2:]) # [4, 5] print(a[-10:]) # [1, 2, 3, 4, 5] print(a[:10]) # [1, 2, 3, 4, 5]