qobjects = [
{
question: "What will be the result of the following syntax:mylist = ['apple', 'banana', 'cherry']",
options: [
"apple",
"banana",
"cherry",
"kiwi"
],
correct: 1
},
{
fillintheblanks: "exercise_lists2.htm"
},
{
question: "What will be the result of the following syntax:
mylist[0] = 'kiwi'
print(mylist[1])mylist = ['apple', 'banana', 'cherry']",
options: [
"banana",
"cherry",
"kiwi",
"mango"
],
correct: 3
}
]
mylist[1:2] = ['kiwi', 'mango']
print(mylist[2])