qobjects = [
{
question: "What is __repr__() mainly meant for?",
options: [
"A readable text for end users",
"A technical representation, meant for developers",
"Comparing two objects"
],
correct: 1
},
{
question: "If a class has no __str__() method, which method does print() fall back to?",
options: [
"__repr__()",
"__init__()",
"None, it raises an error"
],
correct: 0
},
{
question: "Which built-in function calls __repr__() directly?",
options: [
"len()",
"str()",
"repr()"
],
correct: 2
}
]