input: Write a python function to generate a list of 5 random integers between 0 and 50 using the given function get_rand.
  assert len(generate_random_list()) == 5
  assert all(0 <= num <= 50 for num in generate_random_list())
  assert isinstance(generate_random_list(), list)
output: import random
  
  def get_rand():
      return random.randint(0, 50)
  
  def generate_random_list():
      return [get_rand() for _ in range(5)]