input: Write a python function to generate multiplication tables from 1 to 10.
  assert multiplication_table(1)==[1,2,3,4,5,6,7,8,9,10]
  assert multiplication_table(5)==[5,10,15,20,25,30,35,40,45,50]
  assert multiplication_table(10)==[10,20,30,40,50,60,70,80,90,100]
output: def multiplication_table(n):
      return [n * i for i in range(1, 11)]