Parallel

Calculate parallel resistance for any number of resistors
import sys import numpy elements = sys.argv[1:] a=numpy.array(elements,dtype=float) print (1/sum(1/a))
 * 1) !/usr/bin/python3