• + 1 comment

    The problem prompt not only doesn't make any sense grammatically, but also has unbalanced brackets in the example code, making it appear even more non-sensical. You can only (barely) make sense of what it's even asking for by skipping to the end and looking at the steps towards an example solution and trying to infer context cues.