← All sections

Module 2 · Python data types, variables, operators, and basic I/O operations

Comments

Notes for humans that Python ignores. Why and when to leave them, how to write them, and how to switch lines of code off without deleting them.

Begin lesson 1 →
  1. 1Comments — why, when, and how?Notes Python ignores, and how to write good ones.
  2. 2Making fragments of codeSwitch a line off with # — no deleting required.