Assignment Statement:
NAME = EXPRESSION
Variables can vary.
when we use the name again, then we refer to the new value.
We have assignment, the same expression can have different meanings at different times we evaluate it.
The important thing to notice, this is not an equal symbol. This looks likes an equal symbol. In python and in most programming language, equal does not mean equal. What equal means is assignment. You should really think of it as an arrow. It is an arrow saying put whatever value of the right side evaluates to the name on the left side.
String is a sequence of characters with quotes.
网友评论