It's possible to learn how to code for free with Udemy. A wide range of Python programming courses are available to take for ...
Try coding in your browser using Icecup, a simple frontend for scripting and graphing similar to AnyDice, SnakeEyes, and Troll. You can find a series of tutorials here.