import math #Variable declaration V = 3 #Voltage of circuit(V) R = 0.5 #Resistance of circuit(Ohm) #Calculation I=V/R #Current(A) #Result print "Current through the circuit is",round(I), "A"

Current through the circuit is 6.0 A