What is the difference between these two pieces of code in the boolean world:
1 is 1
and
1 == 1
I found two web pages that describe it, but I can't see the difference since I don't know how to get different results:
http://www.informit.com/articles/article.aspx?p=459269&seqNum=10
https://docs.python.org/2/library/stdtypes.html
On the 2nd page, I found the operators. On the 1st page, which I looked at second, it described a difference that doesn't tell me when I'd do this and get different results. That's my big question, is when does doing one differ results from the other?
Obviously, there are cases where one will be true and the other false, right?