Quantities and text
Level 1 · estimatedCalculate with numbers, select part of a string and format a line of output. Predict each result before you run the program.
Lessons
Read the whole unit on one page
- Choose an arithmetic operatorLevel 1 · Foundations
- Group a calculationLevel 1 · Foundations
- Keep a remainderLevel 1 · Foundations
- Index and slice a labelLevel 1 · Foundations
- Format a line of outputLevel 1 · Foundations
Sources
- Python 3.13 Tutorial, 3.1.1. Numbers. Python Software Foundation. Python Software Foundation License Version 2. Read 26 Nov 2026. Cited in Choose an arithmetic operator, Group a calculation, Keep a remainder.
- Python 3.13 Tutorial, 3.1.2. Text. Python Software Foundation. Python Software Foundation License Version 2. Read 26 Nov 2026. Cited in Index and slice a label.
- Python 3.13 Tutorial, Formatted String Literals. Python Software Foundation. Python Software Foundation License Version 2. Read 26 Nov 2026. Cited in Format a line of output.