qobjects = [
{
question: "What is a correct syntax for looping through the items of a set?",
options: [
"for x in {'apple', 'banana', 'cherry'}:",
"
print(x)for x in {'apple', 'banana', 'cherry'}",
"
print(x)foreach x in {'apple', 'banana', 'cherry'}"
],
correct: 0
},
{
fillintheblanks: "exercise_sets_loop1.htm"
},
{
question: "True or False. Sets are unordered, so when you loop through the items, the order will be totally random.",
options: [
"True",
"False"
],
correct: 0
}
]
print(x)