The answer will be always false. Because when you declare a = {} it will create a new object in the memory, for b={} also it will create a new object in the memory. previous object referencing will not occur. So comparing both will always give the answer as false