Create a function that accepts dimensions, of Rows x Columns, as parameters in order to create a multiplication table sized according to the given dimensions.  **The return value of the function must be an array, and the numbers must be Fixnums, NOT strings.

Example:

multiplication_table(3,3)

1       2       3       
2       4       6       
3       6       9

-->[[1,2,3],[2,4,6],[3,6,9]]

Each value on the table should be equal to the value of multiplying the number in its first row times the number in its first column.

Difficulty: introductory

Starter code:

def multiplication_table(row,col):
	

Solutions:
def multiplication_table(row,col):
    return [[(i+1)*(j+1) for j in range(col)] for i in range(row)]

def multiplication_table(row,col):
    return [[x*y for y in range(1,col+1)] for x in range(1,row+1)]

def multiplication_table(row,col):
    res = []
    for i in range(1, row+1):
        item = []
        for j in range(1, col+1):
            item.append(i*j)
        res.append(item)
    return res


def multiplication_table(row,col):
    return [[ e*i for e in range(1,col+1) ] for i in range(1,row+1) ]


def multiplication_table(row,col):
    return [[i * j for i in range(1, col+1)] for j in range(1, row+1)] 

def multiplication_table(row,col):
    return [[i * j for j in range(1, col + 1)] for i in range(1, row + 1)]

def multiplication_table(row,col):
    return [[(i+1)*(j+1) for i in range(col)] for j in range(row)]

def multiplication_table(row,col):
    l=[]
    for linha in range(row):
        l.append(list(range(linha+1,(linha+1)*col+1,linha+1)))
    return l