Playgrounds issue: Has to reload the puzzle every time we test code

Hi! I have a remote student who's learning to code in Swift using Playgrounds - Learn to Code 2.

It's frustrating to try to test his code when we think he as part of a solution to a puzzle because he can't run his code twice in the same puzzle without resetting the puzzle - when he tries, the page gives an error, and he has to reload the whole puzzle, which erases his code. As a workaround, he's been copying his code and reloading the puzzle whenever he wants to test out a partial solution.

Is there an easier way to do this?

Playgrounds issue: Has to reload the puzzle every time we test code
 
 
Q