In my own experiment, I asked ChatGPT to solve a problem with Python. Instead of giving me the optimum solution which would have used algebra and modular arithmetic, it gave me various solutions with nested loops.