How do I perform matrix operations using Python?
The Python FAQ has an entry on how to create multidimensional lists:
You may also want to look into the ‘numpy’ module which contains many resources for scientific computing, including powerful matrix operations: http://numeric.scipy.org/
CATEGORY: tutor