a is b checks if both a and b refer to the same address and hence it is False while a == b checks if both have the same value and hence it is True.
a is b checks if both a and b refer to the same address and hence it is False while a == b checks if both have the same value and hence it is True.