Resistance calculator: Difference between revisions

Content added Content deleted
No edit summary
Line 43:
6.000 10.800 1.800 19.440 | r
 
=={{header|Python RPN}}==
<lang python>
# RPN
class Resistor :
def __init__(self, resistance, a=None, b=None, symbol='r'):
Line 92 ⟶ 93:
</lang>
 
=={{header|Python Infix}}==
<lang python>
# Infix
class Resistor :
def __init__(self, resistance, a=None, b=None, symbol='r') :