replace subtaskInfo map with list for stepik
[idea/community.git] / python / educational-core / student / testData / stepic / 3.json
index e8ac7887c10ec0f05ca32dbdc37e8898886f59bc..147620c7efefd96aa241eb06e490b6806ef7c088 100644 (file)
                   "hint": "[\"Type your name here.\"]",
                   "offset": 32,
                   "length": 14,
-                  "subtask_infos": {
-                    "0": {
-                      "hints": ["Type your name here."],
+                  "subtask_infos": [
+                    {
+                      "index": 0,
+                      "hints": [
+                        "Type your name here."
+                      ],
                       "possible_answer": "Liana"
                     },
-                    "1": {
-                      "hints":[],
+                    {
+                      "index": 1,
+                      "hints": [],
                       "possible_answer": "miss X"
                     }
-                  }
+                  ]
                 }
               ],
               "text": "print(\"Hello, world! My name is type your name\")\n",