qobjects = [
{
question: "Consider the following code:x = 'awesome'
def myfunc():
x = 'fantastic'
myfunc()
print('Python is ' + x)
What will be the printed result?",
options: [
"Python is awesome",
"Python is fantastic"
],
correct: 0
},
{
fillintheblanks: "exercise_variables7.htm"
},
{
question: "Consider the following code:x = 'awesome'
def myfunc():
global x
x = 'fantastic'
myfunc()
print('Python is ' + x)
What will be the printed result?",
options: [
"Python is awesome",
"Python is fantastic"
],
correct: 1
}
]