def List(lst, type_, **kwargs):
    """create html ul from list with class cls"""
    result = ['<%s %s>' % (type_, atributes(**kwargs))]
    result += [(' '*4) + tag('li', elem) for elem in lst]
    result += ['</%s>' % (type_)]
    return result
create html ul from list with class cls
recipes/Python/502222_Creating_javclass/recipe-502222.py