import random


def randomdig(n, start):
    """This function returns a set of random digits"""
    if start == 0:
        string = ''
        for i in range(n):
            string += str(random.randint(0, 9))
        return string
    else:
        string = str(start)
        for i in range(n):
            string += str(random.randint(0, 9))
        return string