DEV Community

Discussion on: What is the difference between ‘is’ and ‘==’ in python

Collapse
 
nomade55 profile image
Lucas G. Terracino

Ok now is pretty clear, so at one poin if you change the value of foo to enum.RIGHT, this would be easier than checking if foo == "Right".

Thanks for the heads up!