def make_dices(tup):
    """Make a string with comma separated dice values from tuple.

    From a given tuple, dice values are written in a string separated by
    ','

    Arguments:
        tup: (tuple) Tuple with dice values

    Returns:
        string: (str) string with dice values separated by comma

    Examples:
        >>> make_dices((1, 3))
        '1,3'

        >>> make_dices((5, 6))
        '5,6'

        Only tuple allowed:

        >>> make_dices('4,7')
        Traceback (most recent call last):
        TypeError: Only tuples allowed, not <class 'str'>

        Only integer values allowed in tuple:

        >>> make_dices((1.5, 3))
        Traceback (most recent call last):
        TypeError: Only integer values allowed, not 1.5

        Only integer values between 1 and 6 allowed:

        >>> make_dices((3, 5, 8))
        Traceback (most recent call last):
        ValueError: Only values between 1 and 6 allowed, not 8

    """
    if not type(tup) == tuple:
        raise TypeError('Only tuples allowed, not ' + str(type(tup)))

    for number in tup:
        if not type(number) == int:
            raise TypeError('Only integer values allowed, not ' + str(number))

        if number < 1 or number > 6:
            raise ValueError(f'Only values between 1 and 6 allowed, not {number:d}')

    string = ','.join(str(number) for number in tup)
    return string