Program names, bindings and assignment
Names refer to values through an execution environment.
Key knowledge
In the stated Python model, an environment binds names to values. An expression evaluates using those bindings. Assignment first evaluates its right-hand expression, then binds the target name to that result; later assignment can replace the binding. Assignment is different from an equality comparison.
Conditions and scope
- This entry concerns simple name assignment in the introductory Python model.
- Assignment and equality-comparison syntax and binding rules depend on the language.
Sources · 2
References
Sources retain their recorded scope. A source link alone does not establish verification of every statement.
Evidence and review
Names refer to values through an execution environment.
2026-10-10 · Independent Physics and Measurement reference editor (AI editorial bounded review). Exact bounded introductory reference claims and this practical concept inventory are approved after closure. Existing university/research proof and source scopes remain separate; no universal knowledge-completeness or experimental-validation assertion.
Foundational review
2026-10-10 · Independent AI editorial inspection of this new compact reference entry, its equations, applicability, sources and knowledge connections.
Sources from other places
Scope or convention differs
Python assignment evaluates an expression and assigns or replaces a name’s value.
The introductory storage metaphor does not specify every environment/object detail.
University of Helsinki, Agile Education Research Group
- Python Programming MOOC · More about variables FinlandEnglish
Assigning values; Using variables
- Python Programming MOOC · More about variables
Entry details
Permanent link to this entry ↗- Record identity
- foundation-info-program-bindings
- Revision
- foundations-audit.1
- Structured reference record
- Foundational core completion