The Python Launchpad

From “Hello World” to Building Your First App.

Module 1: The Basics (Speaking the Language)

Module 1: The Basics (Speaking the Language)

  • Goal: Get students comfortable with the environment and basic syntax.
  • Key Concepts:
    • Installing Python & VS Code.
    • The print() function.
    • Variables (Strings, Integers, Floats).
    • Input/Output (Talking to the user).
  • The “Aha!” Moment: When the user types their name, and the computer greets them back.
  • Final Project: “The Bio Generator” – A program that asks 5 questions about the user and prints a funny biography using their answers.

Module 2: Logic & Decisions (Making the Computer Smart)

  • Goal: Teach the program how to make choices based on data.
  • Key Concepts:
    • Booleans (True / False).
    • Comparison Operators (>, <, ==).
    • Conditionals (if, else, elif).
  • The “Aha!” Moment: Writing a program that “knows” if a user is old enough to vote.
  • Final Project: “The bouncer” – A virtual security gate that only lets users in if they have the correct password and are over 18.

Module 3: Loop de Loop (The Power of Repetition)

  • Goal: Automate boring tasks so the human doesn’t have to do them.
  • Key Concepts:
    • While Loops (Run until I say stop).
    • For Loops (Run a specific number of times).
    • Infinite Loops (and how to break them!).
  • The “Aha!” Moment: Printing “I will not talk in class” 100 times in 0.1 seconds.
  • Final Project: “The Guessing Game” – The computer picks a random number (1-100), and the user loops through guesses until they get it right.

Module 4: Functions (The DRY Principle)

  • Goal: Organize code into reusable blocks. (DRY = Don’t Repeat Yourself).
  • Key Concepts:
    • Defining Functions (def).
    • Parameters & Arguments (Passing data in).
    • Return Statements (Getting data out).
    • Scope (Global vs. Local variables).
  • The “Aha!” Moment: Writing a complicated math formula once and using it 50 times with one word.
  • Final Project: “The Unit Converter” – A tool that converts Miles to Kilometers, Fahrenheit to Celsius, and USD to EUR using functions.

Module 5: Lists & Dictionaries (Organizing Data)

  • Goal: Handling lots of data without making a million variables.
  • Key Concepts:
    • Lists (Arrays) – shopping_list = ["apples", "bread"].
    • Indexing – Getting the first item in a list.
    • Dictionaries – Key/Value pairs ({"name": "Alex", "age": 25}).
  • The “Aha!” Moment: Building a database of friends’ phone numbers.
  • Final Project: “The Todo List App” – A program where users can add tasks, view tasks, and mark them as done.

Module 6: The Capstone Project 🏆

  • Goal: Combine everything learned into one functional application.
  • Project Idea:“The Expense Tracker”
    • Features:
      1. User enters a salary (Input/Variables).
      2. User adds expenses (Loops/Lists).
      3. Program warns if you spend too much (Conditionals/Logic).
      4. Program calculates remaining budget (Math/Functions)

Procced to tutorialsModule 1: Your First Steps in Python.