Whitespace When Assigning Variables

suggest change

Whitespace 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”.

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents