AI engineering glossary · Python core
What is assignment?
Assignment: The operation that binds a name to a value using the = sign. The right side is evaluated first, and the resulting object is then linked to the name on the left. In Python assignment does not copy data; it makes the name point at an object.
Assignment: an example
x = 3 + 4 evaluates 3 + 4 to 7 and then binds the name x to 7.
Related terms
More Python core terms
Where you learn it
Assignment is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.