There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.
My personal favorite for quick and dirty searches is http://www.arin.net
Put in the adddress you have for a given ISP, and it will return the address "block" that ISP uses. Look for the line labeled Netblock in the response.
Hope this helps.