Another Fail with coding with ChatGTP
Here is another example of using ChatGTP for a simple problem, and it returns compiling code that is totally wrong. I needed to get all the neighbors in a spiral pattern from a given starting point. I initially forgot to specify that it needed to be a spiral and that I wanted the code in Swift (the first time it generated Python, which I have omitted1).
I have a grid with a given amount of columns and rows.
Read 15 remaining paragraphs...