11 lines
202 B
Python
11 lines
202 B
Python
#File: pytest.py
|
|
import Numeric
|
|
def foo(a):
|
|
a = Numeric.array(a)
|
|
m,n = a.shape
|
|
for i in range(m):
|
|
for j in range(n):
|
|
a[i,j] = a[i,j] + 10*(i+1) + (j+1)
|
|
return a
|
|
#eof
|