Discuss this video at: http://forum.irakrakow.com/viewtopic.php?f=31&t=328
In Part 3, we were introduced to lists, which lets us work with more than one variable at onced. We also saw how to reference parts of the list, say the 3rd element in the list x as x[2] (since we start numbering from 0), using the [] operator, and how to use negative numbers to reference list elements from the end. In this tutorial, we will go into more detail about how to get parts of strings and lists, by use of slicing. Slicing also uses the square brackets, but in a new and different way.
Link to this comment:
All Comments (0)