import random


def gen_random_string(length):
	""" Generates a random digit string.
	Parameter:
		length -- The lenght of the strings.
	Return:
		The random string.
	"""
	s = ''
	for i in range(length):
		s = s + str(random.randrange(0,10))
	return s