def createKey(problemData):

    """

    Creates the key for a given 'problemData' list of number
    of item types.

    """

    key = ''

    for itData in problemData:

        key += str(itData) + ','

    # Remove the last comma

    return key[:-1]