Correct answer
Student view placeholder
In student views this area is used for assessment and score info.
Tools
Staff information
Question
Title:
Element pl-order-blocks: code with ranking and indentation
Variant
Started at:
2026-09-19 06:12:56 (CDT)
Duration:
0s
Show/Hide answer
{
"python-ordered": [
{
"tag": "a86539ec-83db-4cee-a37f-04195dafd503",
"uuid": "ab2ef209-ccbc-4c2a-ad5f-8324547a10c3",
"final": false,
"index": 0,
"indent": 0,
"depends": [],
"ranking": 1,
"group_info": {
"tag": null,
"depends": null
},
"inner_html": "<pl-code language=\"python\">def my_sum(first, second):</pl-code>",
"distractor_for": null,
"initially_placed": false,
"ordering_feedback": null,
"distractor_feedback": null
},
{
"tag": "c17dccc7-03cf-4c97-968b-3968b2025ffb",
"uuid": "ad84d6ad-479d-4c4a-bd8a-450d4e614f00",
"final": false,
"index": 1,
"indent": 1,
"depends": [],
"ranking": 2,
"group_info": {
"tag": null,
"depends": null
},
"inner_html": "<pl-code language=\"python\">sum = 0</pl-code>",
"distractor_for": null,
"initially_placed": false,
"ordering_feedback": null,
"distractor_feedback": null
},
{
"tag": "addfirst",
"uuid": "c2ae9147-2ab1-476b-84c1-bc3e49958516",
"final": false,
"index": 2,
"indent": 1,
"depends": [],
"ranking": 3,
"group_info": {
"tag": null,
"depends": null
},
"inner_html": "<pl-code language=\"python\">sum += first</pl-code>",
"distractor_bin": "c86a3cb5-ce12-45f8-9ff9-327a50b936d3",
"distractor_for": null,
"initially_placed": false,
"ordering_feedback": null,
"distractor_feedback": null
},
{
"tag": "addsecond",
"uuid": "d99abdf6-3015-4868-8e2f-e0e14c342f5f",
"final": false,
"index": 3,
"indent": 1,
"depends": [],
"ranking": 3,
"group_info": {
"tag": null,
"depends": null
},
"inner_html": "<pl-code language=\"python\">sum += second</pl-code>",
"distractor_bin": "bf35dee0-c19c-40f1-b528-e5e443ba66c3",
"distractor_for": null,
"initially_placed": false,
"ordering_feedback": null,
"distractor_feedback": null
},
{
"tag": "a9aed4c8-8811-4044-9276-3fc4744a8e80",
"uuid": "c5dc3ee9-97e7-4bf8-b828-fc6d43cecb62",
"final": false,
"index": 4,
"indent": 1,
"depends": [],
"ranking": 4,
"group_info": {
"tag": null,
"depends": null
},
"inner_html": "<pl-code language=\"python\">return sum</pl-code>",
"distractor_for": null,
"initially_placed": false,
"ordering_feedback": null,
"distractor_feedback": null
}
]
}