Recitation 8a (Dec 26, 2011)

Code examples

Example 1: Matrix class


Download (right click -> save link as "matrix.py")

Example 2: output files

stam

hello worldgoodbye

stam2.txt

hello 17

matrix.txt

3 4
-5 -2 -8 -8
-4 -5 -5 4
7 5 1 -2

Interpreter session log

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License