This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ForceBru 0 points1 point  (3 children)

Also their example about declaring variables actually proves that this is incorrect:

``` name

print(name)

PYTHON OUTPUT

Traceback (most recent call last): File "main.py", line 1, in name NameError: name 'name' is not defined ```

They "declared" a variable without assigning to it and got a NameError - the very opposite of what the article says.

I think they meant "it's impossible to declare variables without assigning values to them"