LaunchCode's LCHS

Chapters

  1. 1. Introduction to Python Programming
    1. 1.1. Why Learn To Code?
    2. 1.2. Why Python?
    3. 1.3. Using This Book
    4. 1.4. Tips and Motivation for Learning To Code
  2. 2. How Programs Work
    1. 2.1. Algorithms
    2. 2.2. Programming Languages
    3. 2.3. More About Programs
    4. 2.4. Your First Python Program
    5. 2.5. Trinket.io
    6. 2.6. Repl.it
  3. 3. How To Write Code
    1. 3.1. What is Code?
    2. 3.2. Syntax Rules
    3. 3.3. Adding Comments
    4. 3.4. The print Function
    5. 3.5. Welcome, New Coder
  4. 4. Data and Variables
    1. 4.1. Values and Data Types
    2. 4.2. Type Conversion
    3. 4.3. Variables
    4. 4.4. More on Variables
    5. 4.5. Statements and Expressions
    6. 4.6. Operators
    7. 4.7. Order of Operations
    8. 4.8. Other Operators
    9. 4.9. User Input
    10. 4.10. Exercises: Data & Variables
    11. 4.11. Project: Data & Variables
  5. 5. Making Decisions With Conditionals
    1. 5.1. Decision Making
    2. 5.2. Data Type for True/False
    3. 5.3. Boolean Expressions
    4. 5.4. Can We Do Math with Boolean Values?
    5. 5.5. Conditionals
    6. 5.6. Logical Operators
    7. 5.7. Truth Tables
    8. 5.8. Nested Conditionals
    9. 5.9. Chained Conditionals
    10. 5.10. Exercises: Booleans and Conditionals
    11. 5.11. Project: Conditional Launch
  6. 6. Repeating Things With Loops
    1. 6.1. Iteration
    2. 6.2. for Loops
    3. 6.3. More on range
    4. 6.4. Iteration Improves the Turtle Program
    5. 6.5. Loop Through a String
    6. 6.6. Loops With Conditions
    7. 6.7. The Accumulator Pattern
    8. 6.8. while Loops
    9. 6.9. Infinite Loops
    10. 6.10. Ending a Loop With break
    11. 6.11. Exercises: Loops
    12. 6.12. Project: Turtle Loops
  7. 7. Stringing Characters Together
    1. 7.1. Strings as Collections
    2. 7.2. Bracket Notation
    3. 7.3. Taking a Slice
    4. 7.4. String Immutability
    5. 7.5. String Methods
    6. 7.6. Special Characters
    7. 7.7. Template Literals
    8. 7.8. Iteration with Strings
    9. 7.9. Checking Strings
    10. 7.10. The string Module
    11. 7.11. Exercises: Strings
    12. 7.12. Project: Strings
  8. 8. Lists Keep Things in Order
    1. 8.1. List Basics
    2. 8.2. Lists Are Like Strings
    3. 8.3. Working with Lists
    4. 8.4. List Methods
    5. 8.5. Iterating Through Lists
    6. 8.6. Common List Tasks
    7. 8.7. Cloning Lists
    8. 8.8. split and join
    9. 8.9. Lists Within Lists
    10. 8.10. Exercises: Lists
    11. 8.11. Project: Lists
  9. 9. Errors and Debugging
    1. 9.1. What is Debugging?
    2. 9.2. Types of Errors
    3. 9.3. Error Messages are Good
    4. 9.4. Fixing Logic Errors
    5. 9.5. How To Avoid Debugging
    6. 9.6. Asking Good Questions
    7. 9.7. Exercises: Errors and Debugging
    8. 9.8. Project: Errors and Debugging
    9. 9.9. Project: Errors and Debugging (Translated)
  10. 10. What’s Your Function
    1. 10.1. Introduction
    2. 10.2. Calling Functions
    3. 10.3. Defining Our Own Functions
    4. 10.4. Function Input
    5. 10.5. Function Output
    6. 10.6. Boolean Functions
    7. 10.7. A Good Function-Writing Process
    8. 10.8. Parameters and Variables
    9. 10.9. Functions Calling Other Functions
    10. 10.10. Why Create Functions?
    11. 10.11. Exercises: Functions
    12. 10.12. Project: Functions
  11. 11. Python Modules
    1. 11.1. What are Modules?
    2. 11.2. Importing Modules
    3. 11.3. The random Module
    4. 11.4. The math Module
    5. 11.5. Creating Modules
    6. 11.6. The main() Event
    7. 11.7. More About main()
    8. 11.8. Exercises: Modules
    9. 11.9. Project: Collaborative Turtles Activity
  12. 12. Python Dictionaries
    1. 12.1. Dictionary Basics
    2. 12.2. Working with Dictionaries
    3. 12.3. Dictionary Methods
    4. 12.4. Iterating Through Dictionaries
    5. 12.5. Accumulator Pattern with Dictionaries
    6. 12.6. Search a Dictionary
    7. 12.7. Code Like a Pirate!
    8. 12.8. Exercises: Dictionaries
    9. 12.9. Project: Mad Dictionaries
  13. 13. Classes and Objects
    1. 13.1. What are Objects
    2. 13.2. Why Use Objects?
    3. 13.3. Working With Objects
    4. 13.4. Classes
    5. 13.5. Create a Class
    6. 13.6. Using a Class
    7. 13.7. Adding Methods to a Class
    8. 13.8. More Object Details
    9. 13.9. Using Objects in Functions
    10. 13.10. Inheritance and Other Topics
    11. 13.11. Exercises: Classes and Objects
    12. 13.12. Project: Classes and Objects
  14. 14. We Built The Internet on HTML
    1. 14.1. Background
    2. 14.2. What is HTML?
    3. 14.3. HTML Structure
    4. 14.4. HTML Tags
    5. 14.5. HTML Entities
    6. 14.6. Semantic HTML
    7. 14.7. Exercises: HTML
    8. 14.8. Project: HTML
  15. 15. Styling the Web With CSS
    1. 15.1. What is CSS?
    2. 15.2. CSS Syntax
    3. 15.3. Linking CSS to HTML
    4. 15.4. CSS Properties
    5. 15.5. Bootstrap
    6. 15.6. Exercises: CSS
    7. 15.7. Project: CSS
  16. 16. Terminal
    1. 16.1. Before You Begin
    2. 16.2. What is a Terminal?
    3. 16.3. Filesystem and Paths
    4. 16.4. Navigating the Terminal Window
    5. 16.5. How to Do Stuff in the Terminal
    6. 16.6. Running Programs from the Terminal
    7. 16.7. Exercises: Terminal
  17. 17. Local Development
    1. 17.1. Before You Begin
    2. 17.2. Visual Studio Code
    3. 17.3. Python in VS Code
    4. 17.4. Local Turtles
    5. 17.5. Importing Our Own Modules
    6. 17.6. Local HTML/CSS Files
    7. 17.7. Exercises: Local Development
    8. 17.8. Project: Local Turtle Races