Answer:
Coding builds critical thinking. Critical thinking involves approaching a problem situation analytically and breaking it down into separate components! It also involves being mentally flexible and a rather easy way to express yourself. Every situation is unique in coding and you can always have a unique way to approach the problem to solve it.
Coding shows you there is more than one answer to a problem, depending on the way you approach it and the problem. Coding teaches creative problem-solving, multiple attempts at fixing a problem is common, you learn to try various techniques to until you find the perfect solution.
Explanation:
There are many other reasons, and not everything I wrote is original, but I hope this is good enough. Good luck, hope this helped!