Whitespace When Assigning Variables
suggest changeWhitespace matters when assigning variables.
foo = 'bar' # incorrectfoo= 'bar' # incorrectfoo='bar' # correct
The first two will result in syntax errors (or worse, executing an incorrect command). The last example will correctly set the variable $foo
to the text “bar”.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents