input: Write a function to generate a random number between 0 and 9 and return it. If the input is not provided, the function should still generate the random number.
  
  assert generate_random_number() >= 0 and generate_random_number() <= 9
output: import random
  
  def generate_random_number(input=None):
      return random.randint(0, 9)