And you can get a refurbished Chromebook for as little as $110, walk to your nearest free Wi-Fi source (Starbucks, McDonalds, local library, whatever), and go to a site like REPL.it or Codecademy and start learning how to program.
Or get a used TI-85 for ~$30 and learn that way, which is how I learned the basics of programming, 25 years ago. Back then those cost about $250, adjusted for inflation. A Chromebook is much more versatile than that.