- 
                
28.1 Module Overview
             
            
            - 
                
                    
                    HTML Notes
                    28.1.1 Module Overview
                
             
            
            
            
            
            
            
            - 
                
28.2 Printing in Python
             
            
            - 
                
                    
                    Video
                    28.2.1 Printing in Python
                
             
            
            - 
                
                    
                    Check for Understanding
                    28.2.2 Printing in Python
                
             
            
            - 
                
                    
                    Example
                    28.2.3 Hello, world!
                
             
            
            - 
                
                    
                    Example
                    28.2.4 Printing Multiple Lines
                
             
            
            - 
                
                    
                    Exercise
                    28.2.5 Introduce Yourself
                
             
            
            - 
                
                    
                    Debugging
                    28.2.6 Fix This Program!
                
             
            
            - 
                
                    
                    Exercise
                    28.2.7 Vertical name
                
             
            
            - 
                
                    
                    Example
                    28.2.8 Printing Multiple Values
                
             
            
            
            
            
            
            
            - 
                
28.3 Variables and Types
             
            
            - 
                
                    
                    Video
                    28.3.1 Variables and Types
                
             
            
            - 
                
                    
                    Check for Understanding
                    28.3.2 Variables and Types
                
             
            
            - 
                
                    
                    Example
                    28.3.3 Variables in Action
                
             
            
            - 
                
                    
                    Example
                    28.3.4 Printing Variables
                
             
            
            - 
                
                    
                    Example
                    28.3.5 Using None
                
             
            
            - 
                
                    
                    Example
                    28.3.6 Variable Types
                
             
            
            - 
                
                    
                    HTML Notes
                    28.3.7 Naming Variables and PEP-8
                
             
            
            - 
                
                    
                    Exercise
                    28.3.8 Make Some Variables!
                
             
            
            - 
                
                    
                    Debugging
                    28.3.9 Undefined Variables
                
             
            
            
            
            
            
            
            - 
                
28.4 Scientific Notation
             
            
            - 
                
                    
                    HTML Notes
                    28.4.1 What is Scientific Notation
                
             
            
            - 
                
                    
                    Quiz
                    28.4.2 Scientific Notation Quiz
                
             
            
            - 
                
                    
                    Example
                    28.4.3 Calculations With Scientific Notation
                
             
            
            - 
                
                    
                    Exercise
                    28.4.4 Game Server Updates
                
             
            
            
            
            
            
            
            - 
                
28.5 String Operators
             
            
            - 
                
                    
                    Video
                    28.5.1 String Operators
                
             
            
            - 
                
                    
                    Check for Understanding
                    28.5.2 String Operators
                
             
            
            - 
                
                    
                    Example
                    28.5.3 Operators and Strings
                
             
            
            - 
                
                    
                    Debugging
                    28.5.4 Fix This Program
                
             
            
            - 
                
                    
                    Example
                    28.5.5 Team Sizes
                
             
            
            - 
                
                    
                    Exercise
                    28.5.6 Introduce Yourself, Part 2
                
             
            
            - 
                
                    
                    Exercise
                    28.5.7 Rectangle, Part 2
                
             
            
            - 
                
                    
                    Exercise
                    28.5.8 Rectangle, Part 3
                
             
            
            - 
                
                    
                    Example
                    28.5.9 Multi-line Strings
                
             
            
            - 
                
                    
                    Challenge
                    28.5.10 Recipe
                
             
            
            
            
            
            
            
            - 
                
28.6 Comments
             
            
            - 
                
                    
                    Video
                    28.6.1 Comments
                
             
            
            - 
                
                    
                    Check for Understanding
                    28.6.2 Comments
                
             
            
            - 
                
                    
                    Example
                    28.6.3 Commented Program
                
             
            
            - 
                
                    
                    Example
                    28.6.4 Trapezoid
                
             
            
            - 
                
                    
                    Example
                    28.6.5 Multi-Line Comment
                
             
            
            - 
                
                    
                    Exercise
                    28.6.6 Add Comments!
                
             
            
            
            
            
            
            
            - 
                
28.7 Fundamental Terms and Definitions
             
            
            - 
                
                    
                    Video
                    28.7.1 Programming Languages
                
             
            
            - 
                
                    
                    Example
                    28.7.2 Dynamically Typed Languages
                
             
            
            - 
                
                    
                    Example
                    28.7.3 Statically Typed Languages
                
             
            
            - 
                
                    
                    Free Response
                    28.7.4 Dynamically Typed vs. Statically Typed Languages
                
             
            
            - 
                
                    
                    Video
                    28.7.5 Compiled Languages
                
             
            
            - 
                
                    
                    Video
                    28.7.6 Interpreted Languages
                
             
            
            - 
                
                    
                    Free Response
                    28.7.7 Compiled vs. Interpreted Languages
                
             
            
            - 
                
                    
                    HTML Notes
                    28.7.8 Lexis, Syntax, and Semantics
                
             
            
            - 
                
                    
                    Free Response
                    28.7.9 Lexis, Syntax, and Semantics Response
                
             
            
            
            
            
            
            
            - 
                
28.8 Number Bases
             
            
            - 
                
                    
                    Video
                    28.8.1 Number Bases: Base 10 and Base 2
                
             
            
            - 
                
                    
                    Example
                    28.8.2 Base 10 and Base 2 in Python
                
             
            
            - 
                
                    
                    Quiz
                    28.8.3 Base 10 and Base 2
                
             
            
            - 
                
                    
                    Video
                    28.8.4 Base 8 and Base 16
                
             
            
            - 
                
                    
                    Example
                    28.8.5 Base 8 in Python
                
             
            
            - 
                
                    
                    Quiz
                    28.8.6 Base 8
                
             
            
            - 
                
                    
                    Example
                    28.8.7 Base 16 in Python
                
             
            
            - 
                
                    
                    Quiz
                    28.8.8 Base 16
                
             
            
            - 
                
                    
                    Article
                    28.8.9 Number Garden Game
                
             
            
            
            
            
            
            
            - 
                
28.9 Bitwise Operators
             
            
            - 
                
                    
                    HTML Notes
                    28.9.1 Bitwise Operators
                
             
            
            - 
                
                    
                    Article
                    28.9.2 AND, OR, and XOR
                
             
            
            - 
                
                    
                    Quiz
                    28.9.3 AND, OR, and XOR
                
             
            
            - 
                
                    
                    Article
                    28.9.4 Left and Right Shift
                
             
            
            - 
                
                    
                    Quiz
                    28.9.5 Left and Right Shift
                
             
            
            - 
                
                    
                    Article
                    28.9.6 NOT
                
             
            
            - 
                
                    
                    Quiz
                    28.9.7 NOT
                
             
            
            - 
                
                    
                    Example
                    28.9.8 Bitwise Operators in Python
                
             
            
            
            
            
            
            
            - 
                
28.10 For Loops
             
            
            - 
                
                    
                    Video
                    28.10.1 For Loops
                
             
            
            - 
                
                    
                    Check for Understanding
                    28.10.2 For Loops
                
             
            
            - 
                
                    
                    Example
                    28.10.3 Print 10 Numbers
                
             
            
            - 
                
                    
                    Example
                    28.10.4 1 Through 10, Part 2
                
             
            
            - 
                
                    
                    Exercise
                    28.10.5 Counting 10 to 100 by Tens
                
             
            
            - 
                
                    
                    Example
                    28.10.6 Running Total
                
             
            
            - 
                
                    
                    Example
                    28.10.7 Running Total, Part 2
                
             
            
            - 
                
                    
                    Exercise
                    28.10.8 Average Test Score
                
             
            
            - 
                
                    
                    Exercise
                    28.10.9 How Many Names?
                
             
            
            - 
                
                    
                    HTML Notes
                    28.10.10 The Pass Keyword
                
             
            
            - 
                
                    
                    Free Response
                    28.10.11 The Pass Keyword Reflection
                
             
            
            
            
            
            
            
            - 
                
28.11 Else Clauses on Loops
             
            
            - 
                
                    
                    Video
                    28.11.1 Else Clauses on Loops
                
             
            
            - 
                
                    
                    Example
                    28.11.2 Else Clauses on Loops Examples
                
             
            
            - 
                
                    
                    Quiz
                    28.11.3 Else Clauses on Loops
                
             
            
            - 
                
                    
                    Example
                    28.11.4 Number Guesser with while-else
                
             
            
            - 
                
                    
                    Example
                    28.11.5 Prime Numbers with for-else
                
             
            
            - 
                
                    
                    Exercise
                    28.11.6 Password Checker
                
             
            
            
            
            
            
            
            - 
                
28.12 Functions and Parameters
             
            
            - 
                
                    
                    Video
                    28.12.1 Functions and Parameters
                
             
            
            - 
                
                    
                    Check for Understanding
                    28.12.2 Functions and Parameters
                
             
            
            - 
                
                    
                    Example
                    28.12.3 Print a Value
                
             
            
            - 
                
                    
                    Example
                    28.12.4 Name and Age
                
             
            
            - 
                
                    
                    Exercise
                    28.12.5 Print Product
                
             
            
            - 
                
                    
                    Exercise
                    28.12.6 Print Multiple Times
                
             
            
            - 
                
                    
                    Example
                    28.12.7 Default Parameter Values
                
             
            
            - 
                
                    
                    Exercise
                    28.12.8 Area of a Square with Default Parameters
                
             
            
            - 
                
                    
                    HTML Notes
                    28.12.9 Keyword and Mixed Arguments
                
             
            
            - 
                
                    
                    Example
                    28.12.10 Print Function Parameters
                
             
            
            - 
                
                    
                    Exercise
                    28.12.11 Playlist Printer
                
             
            
            
            
            
            
            
            - 
                
28.13 Namespaces in Functions
             
            
            - 
                
                    
                    Video
                    28.13.1 Namespaces in Functions
                
             
            
            - 
                
                    
                    Check for Understanding
                    28.13.2 Namespaces in Functions
                
             
            
            - 
                
                    
                    Example
                    28.13.3 Functions and Variables
                
             
            
            - 
                
                    
                    Example
                    28.13.4 Variable Shadowing
                
             
            
            - 
                
                    
                    Example
                    28.13.5 The global Keyword
                
             
            
            - 
                
                    
                    Debugging
                    28.13.6 Debug Variable Shadowing and global Keyword
                
             
            
            - 
                
                    
                    Quiz
                    28.13.7 Variable Shadowing and global Keyword
                
             
            
            - 
                
                    
                    Debugging
                    28.13.8 Fix This Program!
                
             
            
            - 
                
                    
                    Exercise
                    28.13.9 Adding to a Value
                
             
            
            - 
                
                    
                    Exercise
                    28.13.10 Add, Subtract, or Multiply
                
             
            
            
            
            
            
            
            - 
                
28.14 Recursion
             
            
            - 
                
                    
                    HTML Notes
                    28.14.1 Algorithms that Use Recursion
                
             
            
            - 
                
                    
                    Free Response
                    28.14.2 Decomposition with Recursion
                
             
            
            - 
                
                    
                    Example
                    28.14.3 Blastoff!
                
             
            
            - 
                
                    
                    Exercise
                    28.14.4 Task Checker
                
             
            
            - 
                
                    
                    Exercise
                    28.14.5 Treasure Hunt
                
             
            
            - 
                
                    
                    Challenge
                    28.14.6 Factorial
                
             
            
            
            
            
            
            
            - 
                
28.15 Introduction to Exceptions
             
            
            - 
                
                    
                    Video
                    28.15.1 Exceptions
                
             
            
            - 
                
                    
                    Check for Understanding
                    28.15.2 Exceptions
                
             
            
            - 
                
                    
                    Example
                    28.15.3 Enter a Number
                
             
            
            - 
                
                    
                    Example
                    28.15.4 Enter Name and Age
                
             
            
            - 
                
                    
                    Exercise
                    28.15.5 Temperature Converter, Part 2
                
             
            
            - 
                
                    
                    Exercise
                    28.15.6 Enter a Positive Number
                
             
            
            - 
                
                    
                    Connection
                    28.15.7 Hierarchy of Exception Types
                
             
            
            - 
                
                    
                    Debugging
                    28.15.8 Choosing the Right Exception
                
             
            
            - 
                
                    
                    Free Response
                    28.15.9 Exceptions Reflection
                
             
            
            
            
            
            
            
            - 
                
28.16 Exception Propagation
             
            
            - 
                
                    
                    HTML Notes
                    28.16.1 Delegation and Propagation
                
             
            
            - 
                
                    
                    Quiz
                    28.16.2 Propagating Exceptions Quiz
                
             
            
            - 
                
                    
                    Example
                    28.16.3 Going Through the Levels
                
             
            
            - 
                
                    
                    Exercise
                    28.16.4 Library Book Checkout
                
             
            
            
            
            
            
            
            - 
                
28.17 For Loops and Lists
             
            
            - 
                
                    
                    Video
                    28.17.1 For Loops and Lists
                
             
            
            - 
                
                    
                    Check for Understanding
                    28.17.2 For Loops and Lists
                
             
            
            - 
                
                    
                    Example
                    28.17.3 For Loops and Lists
                
             
            
            - 
                
                    
                    Example
                    28.17.4 For Loops and Lists, Part 2
                
             
            
            - 
                
                    
                    Practice
                    28.17.5 Max In List
                
             
            
            - 
                
                    
                    Practice
                    28.17.6 Owls
                
             
            
            - 
                
                    
                    Practice
                    28.17.7 Exclamat!on Po!nts
                
             
            
            - 
                
                    
                    Challenge
                    28.17.8 Word Ladder
                
             
            
            - 
                
                    
                    Challenge
                    28.17.9 Owls, Part 2
                
             
            
            - 
                
                    
                    Example
                    28.17.10 List Exceptions
                
             
            
            
            
            
            
            
            - 
                
28.18 More List Methods
             
            
            - 
                
                    
                    HTML Notes
                    28.18.1 insert
                
             
            
            - 
                
                    
                    HTML Notes
                    28.18.2 sorted
                
             
            
            - 
                
                    
                    HTML Notes
                    28.18.3 index
                
             
            
            - 
                
                    
                    HTML Notes
                    28.18.4 Removing Elements: remove, del, pop, clear
                
             
            
            - 
                
                    
                    Exercise
                    28.18.5 List Methods Practice
                
             
            
            - 
                
                    
                    Exercise
                    28.18.6 Secret Message
                
             
            
            - 
                
                    
                    HTML Notes
                    28.18.7 Copying Lists
                
             
            
            - 
                
                    
                    Free Response
                    28.18.8 Copying Lists Reflection
                
             
            
            - 
                
                    
                    Quiz
                    28.18.9 Copying Lists
                
             
            
            - 
                
                    
                    Badge
                    28.18.10 More List Methods Badge
                
             
            
            
            
            
            
            
            - 
                
28.19 2d Lists
             
            
            - 
                
                    
                    Video
                    28.19.1 2d Lists
                
             
            
            - 
                
                    
                    Check for Understanding
                    28.19.2 2d Lists
                
             
            
            - 
                
                    
                    Example
                    28.19.3 A List of Lists
                
             
            
            - 
                
                    
                    Example
                    28.19.4 Grid
                
             
            
            - 
                
                    
                    Example
                    28.19.5 2d Lists and Slices
                
             
            
            - 
                
                    
                    Exercise
                    28.19.6 Checkerboard, v1
                
             
            
            - 
                
                    
                    Exercise
                    28.19.7 Checkerboard, v2
                
             
            
            - 
                
                    
                    Exercise
                    28.19.8 Checkerboard, v3
                
             
            
            - 
                
                    
                    Challenge
                    28.19.9 Tic Tac Toe
                
             
            
            - 
                
                    
                    Example
                    28.19.10 3d Lists
                
             
            
            - 
                
                    
                    Exercise
                    28.19.11 Looping Through 3d Lists
                
             
            
            
            
            
            
            
            - 
                
28.20 List Comprehensions
             
            
            - 
                
                    
                    Video
                    28.20.1 List Comprehensions
                
             
            
            - 
                
                    
                    Check for Understanding
                    28.20.2 List Comprehensions
                
             
            
            - 
                
                    
                    Example
                    28.20.3 List of Consecutive Numbers
                
             
            
            - 
                
                    
                    Example
                    28.20.4 List of Squares
                
             
            
            - 
                
                    
                    Exercise
                    28.20.5 Divisible by 3
                
             
            
            - 
                
                    
                    Example
                    28.20.6 Digits of Pi
                
             
            
            - 
                
                    
                    Example
                    28.20.7 List of Booleans
                
             
            
            - 
                
                    
                    Exercise
                    28.20.8 Last Names
                
             
            
            - 
                
                    
                    Exercise
                    28.20.9 Strings To Integers
                
             
            
            - 
                
                    
                    Example
                    28.20.10 List Comprehensions with 2d and 3d Lists
                
             
            
            - 
                
                    
                    Survey
                    28.20.11 Mindset Survey 4
                
             
            
            
            
            
            
            
            - 
                
28.21 Dictionaries
             
            
            - 
                
                    
                    Video
                    28.21.1 Dictionaries
                
             
            
            - 
                
                    
                    Check for Understanding
                    28.21.2 Dictionaries
                
             
            
            - 
                
                    
                    Example
                    28.21.3 Keys and Values
                
             
            
            - 
                
                    
                    HTML Notes
                    28.21.4 Removing Keys and Values
                
             
            
            - 
                
                    
                    Exercise
                    28.21.5 Update the Menu
                
             
            
            - 
                
                    
                    Example
                    28.21.6 View Keys, Values, and Items
                
             
            
            - 
                
                    
                    Example
                    28.21.7 The in Keyword
                
             
            
            - 
                
                    
                    Exercise
                    28.21.8 Phone Book
                
             
            
            - 
                
                    
                    Exercise
                    28.21.9 Word Counts
                
             
            
            
            
            
            
            
            - 
                
28.22 Review Problems
             
            
            - 
                
                    
                    HTML Notes
                    28.22.1 Note on Review Problems
                
             
            
            - 
                
                    
                    Quiz
                    28.22.2 Programming and Python Fundamentals
                
             
            
            - 
                
                    
                    Quiz
                    28.22.3 Conditional Blocks and Loops
                
             
            
            - 
                
                    
                    Quiz
                    28.22.4 Tuples, Dictionaries, Lists, and Strings
                
             
            
            - 
                
                    
                    Quiz
                    28.22.5 Functions and Exceptions