Python Foundations & the Security Mindset
Variables, types, input(), and if/else — plus the golden rule: never blindly trust input.
Tap Mark done on anything you finish — your rank levels up as you go. Progress saves on this device.
Monday June 22 – Thursday June 25, 1:00–4:00 PM each day. Every afternoon packs in a Python session, a Secure Python session, and project time to build your game with what you just learned.
Times are a guide — your camp leader may shift things around. Bring your laptop, your curiosity, and a partner.
Each day has a hands-on notebook: clear explanations, runnable examples, labs with TODOs, challenges, and full solutions at the bottom. Download one, then open colab.research.google.com → File → Upload notebook (or run it in Jupyter). Press Shift+Enter to run a cell.
Variables, types, input(), and if/else — plus the golden rule: never blindly trust input.
Loops, lists, dictionaries, and functions, then try/except and validation that refuses to crash.
Files, the CIA triad, password hashing and salting with hashlib, and spotting hardcoded secrets.
SQL injection and its fix, a full secure-account capstone, and the ethics of using these skills.
Start from zero and build up to writing real programs. Four lectures, in order — each one unlocks a piece of the project.
Your first programs: print, comments, and how to read an error without panicking.
Store information, the four data types, getting input, and clean text with f-strings.
Make decisions with if / elif / else and repeat work with for and while loops.
Hold many values in a list, then package your code into reusable functions.
Once you can code, learn to code safely. Think like an attacker so you can build like a defender.
The security mindset, trust boundaries, and the golden rule: never trust user input.
Injection, eval, pickle, path traversal — the bugs attackers reach for first, and the one-line fixes.
Hashing vs encryption, never storing plaintext passwords, and handling API keys the right way.
Dependencies, safe logging, deserialization, and the habits that ship secure software.
As you work through the notebooks, you and your partner build the Trivia Challenge game one step at a time. Each step has one thing that must work before you move on.
You and a partner build one Python game from start to finish — a little more each day, using exactly what you just learned. Pick any topic: music, sports, your school, games, anything. The skills are the same; the fun is in the theme.