Hello python-list user, I want somebody to explain me why next code doesn't work: var = 5 if (tmp = var) == 5: # this is the error line print "ok" else: print "error" Best regards, Ruslan mailto:alienoid at is.lg.ua