I learnt of the \"exactly equal to\" operator in Erlang, which compares not only values, but also data types of numbers, and I was curious about how things work in Python an
Please check with the Python documentation:
http://docs.python.org/tutorial/floatingpoint.html