Intro to Programming & Python
Programming means giving exact instructions to a computer. Python is the language students use to turn ideas into working code.
What This Means
A program is a list of instructions that runs in order. Python reads those instructions, checks the syntax, and then executes them.
- The computer only does what the code says, not what we meant.
- Python uses indentation to show structure, so spacing matters.
- Comments help humans read code, but Python ignores them.
Why It Matters
This concept gives students their mental model for everything else on the site. If they understand that Python runs clear, ordered instructions, later topics feel much less mysterious.
Python Syntax Toolbox
print("Hello, Bridge Academy!")
# This line is a commentThe first win is just making something run correctly and understanding why it ran.
Worked Example
print("Welcome to Python")
print("Line 2 runs after line 1")Students see that each line runs from top to bottom and produces visible output.
Common Mistakes
- Forgetting quotes around text
- Missing a closing parenthesis in print(...)
- Adding spaces before top-level code when no block has started