Numpy Program In Python Using Loop