an appropriate amount of information on each page copying list oftenyou'll want to start with an existing list and make an entirely new list based on the first one let' explore how copying list works and examine one situation in which copying list is useful to copy listyou can make slice that includes the entire original list by omitting the first index and the second index ([:]this tells python to make slice that starts at the first item and ends with the last itemproducing copy of the entire list for exampleimagine we have list of our favorite foods and want to make separate list of foods that friend likes this friend likes everything in our list so farso we can create their list by copying oursfoods py my_foods ['pizza''falafel''carrot cake' friend_foods my_foods[:print("my favorite foods are:"print(my_foodsprint("\nmy friend' favorite foods are:"print(friend_foodsat we make list of the foods we like called my_foods at we make new list called friend_foods we make copy of my_foods by asking for slice of my_foods without specifying any indices and store the copy in friend_foods when we print each listwe see that they both contain the same foodsmy favorite foods are['pizza''falafel''carrot cake'my friend' favorite foods are['pizza''falafel''carrot cake'to prove that we actually have two separate listswe'll add new food to each list and show that each list keeps track of the appropriate person' favorite foodsmy_foods ['pizza''falafel''carrot cake' friend_foods my_foods[: my_foods append('cannoli' friend_foods append('ice cream'print("my favorite foods are:"print(my_foodsworking with lists