# Saving data to an array in sage

Hi,

How can I save data to an array in sage. For example in MATLAB we car make an array of data like this

a =0;

for i=1:10

a = a + 1;

b(i,:) = a

end

Similarlay how can I save data in 2D array.

Thanks