input: def generate_random_password() -> str:
      """ Generates a random password consisting of 8 characters. The password will
      contain a mix of uppercase and lowercase letters, and digits.
      >>> generate_random_password()
      'aB3d7FgH'
      >>> generate_random_password()
      '1Xz9pLqR'
      """
      import string
      import random
      chars = string.ascii_letters + string.digits
      return ''.join(random.choice(chars) for _ in range(8))
output:     import string
      import random
      chars = string.ascii_letters + string.digits
      return ''.join(random.choice(chars) for _ in range(8))