ChatGPT for simplifying code This is one of my favorite tricks: Ask ChatGPT to simplify complex code. The result will be a much more compact version of the original code. Notice the explanation and how it tells us this is simpler but not the most efficient.