>>12976024>>12976024there are various high level computer programming languages, many of which you should understand as 'tools' which are used to most efficiently solve certain types of problems or model situations via the features the language offers.
often, the complete beginner learns python first as the syntax is 'user friendly', and there's lots of application to many STEM fields and much more. the most important thing however for a beginner is to learn imo algorithms - how to think like a computer does to solve problems. A computer knows only what you tell it to know, this is fundamental.
depending on your interests, once you have a handle on python you may want to learn about how the computer really works on a low level, especially memory management, then maybe pick up another language like C++/C#/Java/C/etc. and then progress to programming paradigms, data structures, design patterns, software eng/webdev'ing (each have their own toolsets of languages to choose from), app development, AI/machine learning (might be up your alley as a math major), etc. etc., etc. it's really sky's the limit.
You can find many free resources on google/youtube, books on libgen, or pay for courses on udemy if you're more into that (i'd only recommend for specialized topics).
You will never stop learning with computers, it is a life long learning experience. Take your time and most of all enjoy it.
As for grad school, I realized in my 3rd year undergrad I was too brainlet to pursue it, so I started getting into computers instead and wrapped up my pure math degree just to close the chapter. It's my understanding that if you've got a intimate relationship with mathematics and have an affinity towards it and have a genuine interest/desire in research mathematics that you should endeavor for it but I'm sure other more smarter anons can fill you in better than a wannabe computer dev.
Math is just a hobby to me now.