qobjects = [
{
question: "What is a correct way to declare a Python variable?",
options: [
"var x = 5",
"#x = 5",
"$x = 5",
"x = 5"
],
correct: 3
},
{
question: "True or False:
You can declare string variables with single or double quotes.x = "John"",
options: [
"True",
"False"
],
correct: 0
},
{
question: "True or False:
# is the same as
x = 'John'
Variable names are not case-sensitive.a = 5",
options: [
"True",
"False"
],
correct: 1
},
{
draganddroptext: "
# is the same as
A = 5___(___(myvar))",
draganddropquestion: "Select the correct functions to print the data type of a variable:",
options: [
"typ",
"type",
"var",
"print",
"echo"
],
correct: [3, 1]
}
]