I'm using a ChatGPT Plus subscription to create some complex codes and it works most of the time. The free version works well too but might produce some errors.
If your brother wants to produce coding for his works then he can try the free version of ChatGPT and if there are any errors in the code, you can ask what's wrong with the code to Google bard and Bard can explain it better than ChatGPT and then you can give that details again to ChatGPT for it to fix the problem.
However, the ChatGPT free version might still produce codes with errors.
Even if you don't need the coding knowledge, you still need logical thinking about what your code has to do and how it has to do it...