Video 6: Lists Tuples Dictionaries (page 6 of 14) |
A few helpful functions & methods include: max(), min(), or sum() for lists of numbers; len() to calculate the number of items in a list; reverse() to reverse the items in the list; and the sort() to order the items.
range() creates a sequence of numbers, which we can then cast as a list.