Monday, 2 October 2023, 4:27 AM
Site: ΕΛ/ΛΑΚ Moodle
Course: Python Lab - May 2017 (python_ellak_may_2017)
Glossary: Glossary of terms
A

assignment

The purpose of Python's assignment statement is to associate names with values in your program. It is the only statement that does not start with a keyword. An assignment statement is a line containing at least one single equal sign (=) that is not inside parentheses.
As an example x = 10 means : associate variable x with the value 10, or my_name = "Alice" means : associate variable my_name with value 'Alice'.