Gerard Flanagan wrote: > def Square( self ): > self *= self
You probably mean
return self * self
> A = FibonacciMatrix()
> A.Square()
Make this
A = A.Square()
--
http://mail.python.org/mailman/listinfo/python-list
Gerard Flanagan wrote: > def Square( self ): > self *= self
You probably mean
return self * self
> A = FibonacciMatrix()
> A.Square()
Make this
A = A.Square()
--
http://mail.python.org/mailman/listinfo/python-list