Replit Computer App Bug w/Closing functions/while/if loops

Hello,
another recent topic about the same issue has some more info:

This issue is probably specific to python because of its use of indentation.