I have to create 2 x 3 matrix using python and every number has to increment
rows = int(input())
cols = int(input())
rows = 2
cols = 3
matrix = []
for i in range(rows):
row = []
i = 1
for j in range(cols):
i = i + 1
row.append(i)
matrix.append(row)
print(matrix)
my out is [[2, 3, 4], [2, 3, 4]]
if first number is 1 then [[1,2,3],[4,5,6]] every number has to increment