I switched the language of the Introduction to AI course and now my exercises are reset, what should I do?

Each language version is its own course, so if you switch the language you are starting the course from scratch in that language. If you switch back to your original language you will find your exercises there in the same state as before.