If we have a way of creating Python code as an image in instructions, then we could make blockpy problems where users have to retype code exactly (practicing syntax). The basic mechanism would be to generate the instructions dynamically based on a code block, and then confirming that the student's program matches that code exactly.
If we have a way of creating Python code as an image in instructions, then we could make blockpy problems where users have to retype code exactly (practicing syntax). The basic mechanism would be to generate the instructions dynamically based on a code block, and then confirming that the student's program matches that code exactly.