input: from typing import List
  
  def generate_random_divisible_number(limit: int = 9) -> List[int]:
      """Generate a list of random numbers within a given range, all of which are divisible by 3.
      The limit is inclusive and defaults to 9.
      
      >>> generate_random_divisible_number(9)
      [0, 3, 6, 9]
      
      >>> generate_random_divisible_number(15)
      [0, 3, 6, 9, 12, 15]
      """
      import random
      valid_numbers = [x for x in range(limit + 1) if x % 3 == 0]
      random.shuffle(valid_numbers)
      return valid_numbers
output:     import random
      valid_numbers = [x for x in range(limit + 1) if x % 3 == 0]
      random.shuffle(valid_numbers)
      return valid_numbers