DEV Community

Discussion on: Ohms calculator using python

Collapse
 
j_mplourde profile image
Jean-Michel Plourde • Edited

This is a very good start. I can see that there would be a problem if I entered a resistance of 0 then selected to calculate the voltage. There should be a try/catch or division by zero verification.