Coding teaches problem-solving and critical thinking. It also creates habits which help in continuous improvements. It is a different way of learning. It is very detailed. It teaches patience, sometimes we spend longer than usual time figuring out why the code is not running and what went wrong and how can it be fixed. Sometimes it allows you to realize that the only way you can debug the line of code is by being patient and looking at the line of code carefully.
Coding enhances math skills. Math is all around us from putting toothpaste on our toothbrush in the morning to adding milk to a bowl of cereal.