A diode in code · Python lab | StemPy Lab