qobjects = [ { question: "Consider the following code:
fruits = ['apple', 'banana', 'cherry']
newlist = [x for x in fruits if x == 'banana']

What will be the value of newlist?", options: [ "['apple', 'cherry']", "['banana']", "True" ], correct: 1 }, { fillintheblanks: "exercise_lists_comprehension1.htm" }, { question: "Consider the following code:
fruits = ['apple', 'banana', 'cherry']
newlist = ['apple' for x in fruits]

What will be the value of newlist?", options: [ "['apple', 'apple', 'apple']", "['apple']", "True" ], correct: 0 } ]