Difference Between Two Objects Leetcode Python Easy