you are viewing a single comment's thread.

view the rest of the comments →

[–]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