Section 5: Lists

Lists are the most commonly used data structure for ordered collections, similar to arrays in other languages. In this section, you'll learn how to create and manipulate lists.
Section 5: Lists
lists-tuples-syllabus.pdf
17 KB
Intro Python, section 5.ipynb
57.6 KB
38 lists
10 mins
39 Assignment and lists
4 mins
40 append
4 mins
41 Exercise 5 -- sum and mean of numbers
2 mins
42 Solution 5
3 mins
43 extend and +=
4 mins
44 advanced inserting into lists
4 mins
45 removing from a list
4 mins
46 stacks and queues
5 mins
47 iterating over lists
5 mins
48 range
6 mins
49 str.split
7 mins
50 str.join
5 mins
51 Exercise 6 -- Pig Latin sentence
2 mins
52 Solution 6 -- Pig Latin sentence
6 mins
53 Adding to strings, adding to lists
6 mins
54 sorting
9 mins