Python Program to Slice Lists (Get all the Items)
my_list = [1, 2, 3, 4, 5]
print(my_list[:])
Output
[1, 2, 3, 4, 5]
my_list = [1, 2, 3, 4, 5]
print(my_list[:])
Output
[1, 2, 3, 4, 5]