Intro Python: Fundamentals
Buy now
Learn more
Syllabus
Welcome
Section 1: Introduction
1. Introduction
2. Variable assignment
3. User input
4. Comments
5. Conditionals
6. Complex conditions
7. Exercise #1 (weather reaction)
8. Solution #1 (weather reaction)
Intro Python, section 1.ipynb
Section 2: Basic data types
9. None
10. True, False, and boolean context
11. Integers
12. Max int?
13. Converting to ints
14. Exercise #2 (number guessing game)
15. Solution #2 (number guessing game)
16. Hex, oct, and bin
17. Floats
Intro Python, section 2.ipynb
Section 3: Strings
Strings syllabus
18. Intro to strings
19. Backslashes
20. Raw strings
21. Slices
22 Searching with "in"
23 Exercise 3 -- Pig Latin
24 Solution 3 -- Pig Latin
25 String methods
26 Triple-quoted strings
27 Bytes and characters
28 str.format and f-strings
29 print function options
Intro Python, section 3.ipynb
Section 4: Loops
loops-syllabus.pdf
Intro Python, section 4.ipynb
30 for loops
31 indexes and enumerate
32 range
33 Exercise 4 -- loop exercises
34 Solution 4 -- loop exercises
35 break and continue
36 else on loops
37 while loops
Section 5: Lists
lists-tuples-syllabus.pdf
Intro Python, section 5.ipynb
38 lists
39 Assignment and lists
40 append
41 Exercise 5 -- sum and mean of numbers
42 Solution 5
43 extend and +=
44 advanced inserting into lists
45 removing from a list
46 stacks and queues
47 iterating over lists
48 range
49 str.split
50 str.join
51 Exercise 6 -- Pig Latin sentence
52 Solution 6 -- Pig Latin sentence
53 Adding to strings, adding to lists
54 sorting
Section 6: Tuples
55 Intro to tuples
56 Tuples are immutable
57 Tuple creation trickiness
58 Unpacking
59 Convering to-from tuples
60 Sorting tuples
61 Exercise 7 -- people
62 Solution 7 -- people
Section 7: Dictionaries
dict-syllabus.pdf
63 Intro to dicts
64 Exercise 8 -- restaurant
65 Solution 8 -- restaurant
66 get and setdefault
67 iterating over a dict
68 Exercise 9 -- Rainfall
69 Solution 9 -- Rainfall
70 How do dicts work?
Intro Python, section 7.ipynb
Section 8: Sets
71 Intro to sets
72 Lists vs. sets
73 Adding to and removing from sets
74 Exercise 10 -- dollar store
75 Solution 10 -- dollar store
76 Set operations
77 Exercise 11 -- spelling bee
78 Solution 11 -- spelling bee
Conclusion
79 Conclusion.mov
PDFs of slides
01 Introduction.pdf
02 Simple data types (none, boolean, ...
03 Lists, tuples, sequences.pdf
04 Dictionaries and sets.pdf
Products
Course
Section
default-section
default-section
Intro Python: Fundamentals
Buy now
Learn more
Syllabus
Welcome
Section 1: Introduction
1. Introduction
2. Variable assignment
3. User input
4. Comments
5. Conditionals
6. Complex conditions
7. Exercise #1 (weather reaction)
8. Solution #1 (weather reaction)
Intro Python, section 1.ipynb
Section 2: Basic data types
9. None
10. True, False, and boolean context
11. Integers
12. Max int?
13. Converting to ints
14. Exercise #2 (number guessing game)
15. Solution #2 (number guessing game)
16. Hex, oct, and bin
17. Floats
Intro Python, section 2.ipynb
Section 3: Strings
Strings syllabus
18. Intro to strings
19. Backslashes
20. Raw strings
21. Slices
22 Searching with "in"
23 Exercise 3 -- Pig Latin
24 Solution 3 -- Pig Latin
25 String methods
26 Triple-quoted strings
27 Bytes and characters
28 str.format and f-strings
29 print function options
Intro Python, section 3.ipynb
Section 4: Loops
loops-syllabus.pdf
Intro Python, section 4.ipynb
30 for loops
31 indexes and enumerate
32 range
33 Exercise 4 -- loop exercises
34 Solution 4 -- loop exercises
35 break and continue
36 else on loops
37 while loops
Section 5: Lists
lists-tuples-syllabus.pdf
Intro Python, section 5.ipynb
38 lists
39 Assignment and lists
40 append
41 Exercise 5 -- sum and mean of numbers
42 Solution 5
43 extend and +=
44 advanced inserting into lists
45 removing from a list
46 stacks and queues
47 iterating over lists
48 range
49 str.split
50 str.join
51 Exercise 6 -- Pig Latin sentence
52 Solution 6 -- Pig Latin sentence
53 Adding to strings, adding to lists
54 sorting
Section 6: Tuples
55 Intro to tuples
56 Tuples are immutable
57 Tuple creation trickiness
58 Unpacking
59 Convering to-from tuples
60 Sorting tuples
61 Exercise 7 -- people
62 Solution 7 -- people
Section 7: Dictionaries
dict-syllabus.pdf
63 Intro to dicts
64 Exercise 8 -- restaurant
65 Solution 8 -- restaurant
66 get and setdefault
67 iterating over a dict
68 Exercise 9 -- Rainfall
69 Solution 9 -- Rainfall
70 How do dicts work?
Intro Python, section 7.ipynb
Section 8: Sets
71 Intro to sets
72 Lists vs. sets
73 Adding to and removing from sets
74 Exercise 10 -- dollar store
75 Solution 10 -- dollar store
76 Set operations
77 Exercise 11 -- spelling bee
78 Solution 11 -- spelling bee
Conclusion
79 Conclusion.mov
PDFs of slides
01 Introduction.pdf
02 Simple data types (none, boolean, ...
03 Lists, tuples, sequences.pdf
04 Dictionaries and sets.pdf
2 Lessons
Syllabus
Welcome