I decided to use chatGPT after searching for a solution of my python code online and finding no solution. Within 1 second it explained to me why it was wrong and corrected it for me and designed the code better, which made me understand programming better.