Toggle: show what Python executes
1# Greet the learner in Kodin Python track
2print("Kodin Python")
Only executable lines run →
Gray # lines = skipped | Highlighted line = runs
Lines starting with # are ignored when Python runs. They explain intent — like sticky notes on a recipe.
Python skips anything after #. Humans still read it.
Comments do not appear in the output.
A comment is a note for humans in code. In Python, lines starting with # are ignored during execution.
Used to explain tricky logic, document decisions, and help teammates understand code quickly without changing program behavior.
Chef writes "# use oat milk for vegan" on the recipe card. The customer still gets the dish; the note is for the cook. Python skips # lines but teammates (and future you) read them.
Gray # lines = skipped | Highlighted line = runs
Kodin Python with a helpful comment above.