qobjects = [
{
question: "What will be the result of the following syntax:mylist = ['apple', 'banana', 'cherry']",
options: [
"apple",
"banana",
"cherry"
],
correct: 1
},
{
question: "What will be the result of the following syntax:
print(mylist[1])mylist = ['apple', 'banana', 'banana', 'cherry']",
options: [
"apple",
"banana",
"cherry"
],
correct: 1
},
{
question: "True or False.
print(mylist[2])
List items cannot be removed after the list has been created.",
options: [
"True",
"False"
],
correct: 1
},
{
draganddroptext: "thislist = ['apple', 'banana', 'cherry']print(___(thislist))",
draganddropquestion: "Select the correct function for returning the number of items in a list:",
options: [
"length",
"size",
"len",
"items"
],
correct: [2]
}
]