Understanding these foundational mathematical concepts will help you a lot with your coding abilities:
Complete the below course on Khan Academy
https://www.khanacademy.org/math/cc-seventh-grade-math