Parallel

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