qobjects = [
{
question: "Consider the following code:import numpy as np
arr = np.array([1, 2, 3, 4, 5, 6, 7])
print(arr[:2])
What will be the printed result?",
options: [
"[1]",
"[1 2]",
"[1 2 3]",
"[3 4 5 6 7]"
],
correct: 1
},
{
fillintheblanks: "exercise_array_slicing1.htm"
},
{
fillintheblanks: "exercise_array_slicing2.htm"
},
{
fillintheblanks: "exercise_array_slicing3.htm"
},
{
fillintheblanks: "exercise_array_slicing4.htm"
}
]