Asked about Variables, strings and numbers

What is the difference between == and is?

An answer that works

== compares values. is compares whether two names point to the same object in memory. Use is only for None, True and False. Using it on numbers or strings seems to work for small values because Python reuses those objects, then fails on larger ones.

Reading an answer is not being able to give one. The section that teaches this is Variables, strings and numbers, 3 hours of Python.

Learn this properly