How does the computer decide whether two objects are equal? By default, Python compares objects based on identity, but we can override that behavior by implementing the __eq__() method. View the program used in this video at: https://www.khanacademy.org/python-program/object-equality/6560227012493312 Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now with