Assignment
noun
say it: “uh-SINE-ment” /əˈsaɪnmənt/
Storing a value in a variable with a single =; the value on the right goes into the name on the left.
What is assignment?
Assignment stores a value in a variable with a single =. The value on the right goes into the name on the left.
city = "Denver"
temperature = 72
In a sentence
- “The assignment total = 0 starts the running total.”
- “city = "Denver" is an assignment, not a comparison.”
Level: Novice · More Python terms at this level
Updated