<filename>02_sequences/0204_slicing/020401_excluded_last_item/__main__.py
l = [10, 20, 30, 40, 50, 60]
print(f"l[:2]: {l[:2]}")
print(f"l[2:]: {l[2:]}")
print(f"l[:3]: {l[:3]}")
print(f"l[3:]: {l[3:]}")
print(f"l[2:5]: {l[2:5]}")

<filename>02_sequences/0204_slicing/020401_excluded_last_item/__main__.py
l = [10, 20, 30, 40, 50, 60]
print(f"l[:2]: {l[:2]}")
print(f"l[2:]: {l[2:]}")
print(f"l[:3]: {l[:3]}")
print(f"l[3:]: {l[3:]}")
print(f"l[2:5]: {l[2:5]}")
