Intro Python: Fundamentals

What you need to start with Python: Syntax, loops, and data structures. 
syllabus.pdf
21.6 KB
00 Welcome.mov
3 mins
Section 1: Introduction
01 Introduction
13 mins
02 Variable assignment
6 mins
03 User input
6 mins
04 Comments
6 mins
05 Conditionals
10 mins
06 Complex conditions
8 mins
07 Exercise 1 -- weather reaction
3 mins
08 Solution 1 -- weather reaction
3 mins
Intro Python, section 1.ipynb
13.8 KB
Section 2: Basic data types
09 None
8 mins
10 True, False, and boolean context
9 mins
11 Integers
7 mins
12 Max int?
4 mins
13 Converting to ints
6 mins
14 Exercise 2- Number guessing game
5 mins
15 Solution 2- Number guessing game
4 mins
16 Hex, oct, and bin
7 mins
17 Floats
8 mins
Intro Python, section 2.ipynb
40.1 KB
Section 3: Strings
strings-syllabus.pdf
15.6 KB
18 Intro to strings
10 mins
19 Backslashes
7 mins
20 Raw strings
6 mins
21 Slices
6 mins
22 Searching with "in"
2 mins
23 Exercise 3 -- Pig Latin
4 mins
24 Solution 3 -- Pig Latin
5 mins
25 String methods
14 mins
26 Triple-quoted strings
7 mins
27 Bytes and characters
8 mins
28 str.format and f-strings
10 mins
29 print function options
4 mins
Intro Python, section 3.ipynb
55.1 KB
Section 4: Loops
loops-syllabus.pdf
24.8 KB
Intro Python, section 4.ipynb
11.3 KB
30 for loops
6 mins
31 indexes and enumerate
5 mins
32 range
3 mins
33 Exercise 4 -- loop exercises
2 mins
34 Solution 4 -- loop exercises
5 mins
35 break and continue
4 mins
36 else on loops
5 mins
37 while loops
10 mins
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
Section 6: Tuples
55 Intro to tuples
6 mins
56 Tuples are immutable
5 mins
57 Tuple creation trickiness
7 mins
58 Unpacking
6 mins
59 Convering to-from tuples
4 mins
60 Sorting tuples
3 mins
61 Exercise 7 -- people
2 mins
62 Solution 7 -- people
7 mins
Section 7: Dictionaries
dict-syllabus.pdf
17.2 KB
63 Intro to dicts
9 mins
64 Exercise 8 -- restaurant
3 mins
65 Solution 8 -- restaurant
5 mins
66 get and setdefault
6 mins
67 iterating over a dict
4 mins
68 Exercise 9 -- Rainfall
3 mins
69 Solution 9 -- Rainfall
8 mins
70 How do dicts work?
10 mins
Intro Python, section 7.ipynb
44.7 KB
Section 8: Sets
71 Intro to sets
5 mins
72 Lists vs. sets
3 mins
73 Adding to and removing from sets
4 mins
74 Exercise 10 -- dollar store
2 mins
75 Solution 10 -- dollar store
3 mins
76 Set operations
7 mins
77 Exercise 11 -- spelling bee
2 mins
78 Solution 11 -- spelling bee
3 mins
Conclusion
79 Conclusion.mov
3 mins
PDFs of slides
01 Introduction.pdf
2.99 MB
02 Simple data types (none, boolean, int, string).pdf
92.7 KB
03 Lists, tuples, sequences.pdf
105 KB
04 Dictionaries and sets.pdf
52 KB