Inspired by Santiago Valdarrama 's post, I checked whether chatGPT could be a good assistant to a Python programmer. Which I found handy for me: Test cases. Documentation in docstring format. Explaining what this code does. "Suggest code optimization" didn't help me.