I am trying to run the code presented on the second page:
http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00-introduction-to-computer-science-an
Use numpy.concatenate(list1 , list2) or numpy.append() Look into the thread at Append a NumPy array to a NumPy array.
numpy.concatenate(list1 , list2)
numpy.append()