slicing list slicing creates new list value with subset of another list' items in codespecify two indexes (the beginning and endwith colon in the square brackets after list for exampletry entering the following into the interactive shellspam ['apples''bananas''carrots''dates'spam[ : ['bananas''carrots'the expression spam[ : evaluates to list with items from index up to (but not includingindex in spam if you leave out the first indexpython will automatically think you want index for the first indexspam ['apples''bananas''carrots''dates'spam[: ['apples''bananas'if you leave out the second indexpython will automatically think you want the rest of the listspam ['apples''bananas''carrots''dates'spam[ :['carrots''dates'slicing is simple way to get subset of the items in list you use slices with strings in the same way you use them with lists each character in the string is like an item in the list try entering the following into the interactive shellmyname 'zophie the fat catmyname[ : 'ie the fmyname[: 'zophie themyname[ :'the fat catthe next part of the code in hangman uses slicing displaying the secret word with blanks now you want code to print the secret wordbut with blank lines for the letters that have not been guessed you can use the character (called the underscore characterfor this first create post questions to