I recently came across this syntax, I am unaware of the difference.
I would appreciate it if someone could tell me the difference.
If you use numpy,
if np.zeros(3)==None: pass
will give you error when numpy does elementwise comparison