def _upper ( val_list ) : res = [ ] for ele in val_list : res . append ( ele . upper ( ) ) return res
python upper all elements in list
: param val_list : a list of strings : return : a list of upper - cased strings
def _upper(val_list):
    """
    :param val_list: a list of strings
    :return: a list of upper-cased strings
    """
    res = []
    for ele in val_list:
        res.append(ele.upper())
    return res