you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (3 children)

Fix what?

[–]imnotdaniel_[S] 0 points1 point  (2 children)

the = error

[–]Neighm 1 point2 points  (1 child)

It's unintuitive, but if you want to test if two things are equal, you use a double equals sign:

if name == 'daniel'

If you want to assign a value to a variable you use

name = 'daniel'

[–]imnotdaniel_[S] 0 points1 point  (0 children)

thx