def numseqstr(seq, sep=',', fmt='%0.2f'):
    """Takes a number sequence or single number and prints it using the given separator and format."""
    def gets(s):
        """Returns a number formatting string using fmt if a number, else str() version"""
        try: # number
            return fmt % s
        except TypeError: # non-number
            return str(s)
    try:
        # sequence
        seq = [s for s in seq]
        return sep.join(gets(s) for s in seq)
    except TypeError:
        return gets(seq)