When writing the following in a python interactive session:
>>> a = "Ahmad"
>>> b =...
When writing the following in a python interactive session:
>>> a = "Ahmad"
>>> b = "Ahmad"
>>> a is b
True
I understand that this happen because "strings" are immutable in python, but when applying the same concept to *tuples", something weird happens:
>>> a = (1, 2)
>>> b = (1, 2)
>>> a is b
False
This is normal if one...