(style)
return 'ol'
finds out whether this is an ordered or unordered list
finds out whether this is an ordered or unordered list
finds out whether this is an ordered or unordered list
def google_list_style(style):
    """finds out whether this is an ordered or unordered list"""
    if 'list-style-type' in style:
        list_style = style['list-style-type']
        if list_style in ['disc', 'circle', 'square', 'none']:
            return 'ul'
    return 'ol'
def google_list_style ( style ) : if 'list-style-type' in style : list_style = style [ 'list-style-type' ] if list_style in [ 'disc' , 'circle' , 'square' , 'none' ] : return 'ul' return 'ol'