qobjects = [
{
question: "By default (without __eq__()), what does p1 == p2 check for two custom objects?",
options: [
"If all their properties match",
"If they are the exact same object in memory",
"If their names match"
],
correct: 1
},
{
question: "What does __eq__() let you customize?",
options: [
"How two objects are added together",
"How two objects are compared with ==",
"How an object is printed"
],
correct: 1
},
{
question: "What is the second parameter of __eq__(self, other) used for?",
options: [
"The other object being compared to",
"The class name",
"The result of the comparison"
],
correct: 0
}
]