# List slicing friends = ["Harry", "Tom", "Rohan", "Sam", "Divya", 45] print(friends[0:4]) print(friends[-4:])