I've been using ChatGPT to solve Advent of Code problems and I've noticed my workflow doing this is: give problem to ChatGPT, ask it to provide it's answer as a Python program (if it hasn't already), fix bugs. In practice, it's great at first drafts but not the final one.