Write a function in Python to generate a list of integers from 0 to 10,000, inclusive.
Not applicable
def generate_list():  
  my_list = []
  for i in range(0, 10001):
    my_list.append(i)

  return my_list