qobjects = [
{
question: "What placeholders are used when dealing with f-strings?",
options: [
"[]",
"()",
"{}"
],
correct: 2
},
{
fillintheblanks: "exercise_string_formatting1.htm"
},
{
fillintheblanks: "exercise_string_formatting2.htm"
},
{
question: "Consider the following code:price = 1000
txt = f'The price is {price:,} dollars'
print(txt)
What will be the printed result?",
options: [
"The price is 1,000 dollars",
"The price is 1,000.00 dollars",
"The price is 1000,00 dollars",
],
correct: 0
}
]