def draw_any(tag, text=None, **kwargs):
    """Draw any tag
    Usage examples:
    draw_any(tagName, text, attr1=anything, attr2=anything, ...) or
    draw_any(tagName, text, **attrDict)
    """

    attri_list = [(str(key) + '=' + '"' + str(value) + '"') for key, value in kwargs.items()]
    attris = ' '.join(attri_list)
    # print('attris=', attris)
    if text is not None:
        return "<{} {}>{}</{}>".format(tag, attris, text, tag)
    return "<{} {} />".format(tag, attris)