Write a Python program which takes two digits as input and generates a two dimentional array.
row = int(input('Enter the number of row :'))
col = int(input('Enter the number of columns : '))
multi_list = [[0 for col in range(col)], [0 for row in range(row)]]
for i in range(row):
for j in range(col):
multi_list[row][col] = row * col
print(multi_list)
#Error message : Syntax Error: invalid syntax (for i in range(row))