Parsons problems
You can also create Parsons problems. For more details and examples, please refer to the following resources:
Getting Started
To utilize Parsons problems, start by providing an explanation to the student, followed by the lines of the exercise. The plugin will automatically shuffle the lines for you.
The indentation is optional:
If more than one answer is valid, you can also use Python unittests (this is kinda buggy, so use at your own risk)!
Parsons problems can also be used for non code tasks.
Another option is to provide only the required lines in a single column.