qobjects = [
{
question: "What will be the result of the following code:x = 'Welcome'",
options: [
"
print(x[3])Wel",
"c",
"Welcome Welcome Welcome"
],
correct: 1
},
{
fillintheblanks: "exercise_strings1.htm"
},
{
fillintheblanks: "exercise_strings2.htm"
},
{
draganddroptext: "txt = 'The best things in life are free!'if 'free' ___ txt: print('Yes, free is present in the text.')",
draganddropquestion: "Insert the correct keyword to check if the word 'free' is present in the text:",
options: [
"contains",
"present",
"in",
"match"
],
correct: [2]
}
]