LLMs are better at languages that are forgiving, like those two, because if something is not exactly right the interpreter will often be able to just continue on