Pass in 2 numbers, A and B. You should create a list with A rows and B columns, then populate each cell
A = 2
B = 3
output = []
row = A
column = B
for num in range(0, row):
output.append([])
for i in range(0, column):
output[num].append('R' + str(num) + ('C' + str(i)))
print(output)