input: from typing import List
  
  def generate_random_number(digits: int) -> str:
      """ Generate a random number with the specified number of digits.
      >>> generate_random_number(6)
      '123456'
      >>> generate_random_number(4)
      '9876'
      """
      import random
      return str(random.randint(10**(digits-1), 10**digits - 1))
output:     import random
      return str(random.randint(10**(digits-1), 10**digits - 1))