Instructions
Drag-and-drop the lines of code below to create a runnable, correct solution.

Click the Run Code button to check the instructor solution and your solution in an interactive environment. Click the Test on Simulated Input button to test the instructor solution and your solution with pre-defined input. Click Reset to move all the Parsons blocks back to the left. Click Move On / See Solution to see the solution and then move on to the next problem.

If at any point you want to switch to a more standard exercise experience, you can do so using the top navigation.
Problem
Instructor Solution
Student Solution