Python code disappeared

I find that the Python code I have written has disappeared for exercise 16 (interm+adv), 19 (interm+adv), 20 (adv) and 21 (interm). I have not pressed the “Reset” button. Any ideas why and how to get it back?