import random


def gen_ran_len_lst(n=500):
	"""Returns a random 0, n length list of 0, n random numbers."""
	lst = []
	for i in range(random.randrange(0, n)):
		lst.append(random.randrange(0, n))
	return lst