I made for loop command as follows:
for i in range(1,4):
x = [i, i*2, i*3]
print(x)
The above result of for-loop command and the final value x are
[1, 2, 3]
[2, 4, 6]
[3, 6, 9]
>>> x
[3,6,9]
But I want to get every x while this command iterate in for-loop. For example, I guess sequential values of list x such as
x1 = [1,2,3]
x2 = [2,4,6]
x3 = [3,6,9]
I ultimately want to get 3x3 matrix form of X.
X = [[1,2,3],
[2,4,6],
[3,6,9]]
However, I don't know the way to get each list x value or make X matrix.