the output of the previous code example is as followsgo back to the original example there now you can also slice lists if you want to take subset of listthere' very simple syntax for doing soy the output of the above code example is as followspre colon iffor exampleyou want to take the first three elements of listeverything before element number we can say to get the first three elementsand and if you think about what' going on thereas far as indices golike in most languageswe start counting from so element is element is and element is since we're saying we want everything before element that' what we're getting soyou knownever forget that in most languagesyou start counting at and not now this can confuse mattersbut in this caseit does make intuitive sense you can think of that colon as meaning want everythingi want the first three elementsand could change that to four just again to make the point that we're actually doing something real herey the output of the above code example is as followspost colon now if put the colon on the other side of the that says want everything after so and after if say ythat' giving me the third element and everything after it so that' going to return and in that exampleoky