qobjects = [
{
question: "Consider the following code:fruits = ('apple', 'banana', 'cherry')
(x, y, z) = fruits
print(y)
What will be the value of y?",
options: [
"apple",
"banana",
"cherry"
],
correct: 1
},
{
question: "Consider the following code:fruits = ('apple', 'banana', 'cherry')
(x, *y) = fruits
print(y)
What will be the value of y?",
options: [
"banana",
"['banana', 'cherry']",
"banana, cherry"
],
correct: 1
},
{
question: "Consider the following code:fruits = ('apple', 'banana', 'cherry', 'mango')
(x, *y, z) = fruits
print(y)
What will be the value of y?",
options: [
"['banana', 'cherry']",
"['banana', 'cherry', 'mango']",
"['cherry', 'mango']"
],
correct: 0
}
]