I got the program below and now I want to put this in a structured module. Andy suggestions?
Andy
Andy
Code:
from numarray import *
n=input("Enter number of elements: ")
x=zeros(n,Int)
for i in range(0,n):
print "Enter the value for x subscript ",i
x[i]=input()
print x
print "The final output is a List of n elements where n is:",n
raw_input("Press enter to exit.")
Comment