I was solving the exercise by saving the progress manually to a file locally. Then, when I reloaded the exercise and pasted the code I had developed, the program stopped responding.
Solution: use the save button or rewrite the previous code.
In my case it didn’t matter if it was exactly the same tabulation.