input: Write a function to generate a multiplication table for numbers in a given range specified by start and end parameters. The function should print the multiplication table in the specified range. If the start parameter is greater than the end parameter, the function should raise a ValueError indicating invalid input.
  assert multiplication_table(5, 10)
output: def multiplication_table(start, end):
      if start > end:
          raise ValueError("invalid input")
      for i in range(start, end + 1):
          for j in range(1, 11):
              print(f"{i} x {j} = {i * j}")
          print()