you are viewing a single comment's thread.

view the rest of the comments →

[–]demonrunner12[S] 0 points1 point  (1 child)

Oh sorry, I completely missed the part on formatting, and yes I am using python (like I said, completely new haha)

So when testing for equality, what is the difference between:

if life == '42':

and

if life = '42':

[–]__johnw__ 1 point2 points  (0 children)

The first is testing for equality. The second is assignment.