Why is the editor on Stepik working incorrectly

I am having trouble with the editor on the Stepik Discovery class. The results in the shell portion are way off from what they should be according to the lesson. This was not the case during the first few instances of the editor in the lesson as it was working properly for the first few sections. I copy and paste the code into another editor with correct results in the shell.

I’m having the same issues. It makes working through the Discovery course very frustrating.