Skip to content

References: Variables and Numbers

  1. Variable (computer science) - Wikipedia - Comprehensive overview of variables as named storage locations in programs, covering assignment, scope, and types. Directly supports the core concept of this chapter for students coming from Scratch.

  2. Integer (computer science) - Wikipedia - Explains how whole numbers are stored and represented in computer memory, including the difference between fixed-width integer types. Provides the technical foundation behind Python's int type.

  3. Floating-point arithmetic - Wikipedia - Covers how decimal numbers are stored in computers, including precision limitations and common pitfalls. Helps students understand why Python distinguishes between int and float.

  4. Python Crash Course, 3rd Edition - Eric Matthes - No Starch Press - Chapter 2 introduces variables, strings, and numbers with hands-on exercises that closely mirror this chapter's goals, making it an ideal companion reference for ages 12 and up.

  5. Python for Kids - Jason R. Briggs - No Starch Press - Written specifically for young learners, Chapter 2 covers variables and basic arithmetic in a friendly, visual style that matches the audience and teaching approach of this textbook.

  6. Python Variables - W3Schools - Interactive tutorial on creating and naming variables in Python, with a built-in "Try it Yourself" editor. Ideal for students who want to experiment with variable assignment immediately after reading this chapter.

  7. Python Numbers - W3Schools - Covers int, float, and complex number types with examples and an interactive editor. Students can confirm the difference between integer and float division without any local setup.

  8. Python Variables, Constants and Literals - Programiz - Clear explanations of variable assignment, naming rules, and the difference between integers and floats, with beginner-friendly examples that reinforce this chapter's naming conventions lesson.

  9. Variables in Python - Real Python - In-depth tutorial explaining variable assignment, dynamic typing, and naming conventions including snake_case. A strong follow-up resource for curious students who want to go deeper after completing this chapter.

  10. Python Variables - Python.org Official Tutorial - The official Python tutorial section on numbers demonstrates int and float arithmetic directly in the Python interpreter, giving students an authoritative and accurate reference for the numeric concepts in this chapter.