Setup your Raspberry Pi & install Blinka. See https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/installing-circuitpython-on-raspberry-pi for more details ...
These days, we have access to powerful circuit simulation software that can handle just about anything. However, I often find value in returning to the basics—deriving equations for simple circuits ...