Quarry School

Quantities and text

Subject: ComputingLevel 1 · estimated

Calculate with numbers, select part of a string and format a line of output. Predict each result before you run the program.

Lessons

Quick review

Read the whole unit on one page

  1. Choose an arithmetic operatorSubject: ComputingLevel 1 · Foundations
  2. Group a calculationSubject: ComputingLevel 1 · Foundations
  3. Keep a remainderSubject: ComputingLevel 1 · Foundations
  4. Index and slice a labelSubject: ComputingLevel 1 · Foundations
  5. Format a line of outputSubject: ComputingLevel 1 · Foundations

Sources

  1. 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.
  2. 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.
  3. 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.