Skip to content

References: Python Basics — Programs, Variables, Data Types, and Operators

  1. Python (programming language) - Wikipedia - Overview of Python's history, design philosophy, and core syntax. Gives students the big-picture context for the language MicroPython is built on before they write their first program.

  2. Variable (computer science) - Wikipedia - Explains what variables are, how they store values, and how naming works. Directly supports this chapter's coverage of creating and assigning variables.

  3. Data type - Wikipedia - Describes integers, floats, strings, and booleans and why types matter. Reinforces the chapter's discussion of the four basic Python data types.

  4. Python Crash Course (3rd Edition) - Eric Matthes - No Starch Press - Chapters 1–2 introduce variables, strings, numbers, and running your first programs with friendly, beginner-paced examples that mirror this chapter's goals.

  5. Think Python (2nd Edition) - Allen B. Downey - O'Reilly Media - A clear, free-to-read introduction to expressions, values, types, and operators that pairs well with hands-on practice for new programmers.

  6. Variables in Python - Real Python - In-depth tutorial on creating, naming, and reassigning variables with runnable examples. Excellent reinforcement for students who want more practice than the chapter provides.

  7. Python Data Types - W3Schools - Quick reference and try-it editor for every built-in type. Useful for looking up type behavior while completing the chapter exercises.

  8. An Informal Introduction to Python - Python Software Foundation - The official tutorial's introduction to numbers, strings, and using Python as a calculator. Authoritative companion to the chapter's syntax examples.

  9. Python Operators - GeeksforGeeks - Covers arithmetic, comparison, and assignment operators with examples and output. Expands on the operator section of this chapter.

  10. MicroPython Documentation - MicroPython - The official documentation home, showing how Python concepts carry over to microcontrollers. Connects this foundational chapter to the hardware work ahead.