I was under the impression that = is an assignment, == is a numeric comparison, and === is a symbolic comparison (as well as in some o
=
==
===
lhs===rhs yields True if the expression lhs is identical to rhs, and yields False otherwise.
and
lhs==rhs returns True if lhs and rhs are identical.
Reference from here and here.