summaryrefslogtreecommitdiff
path: root/progs/a251.py
blob: d1259bde90cbfaf637e3c6590328eb73c15f9be4 (plain)
1
2
3
4
5
def remove_negs(num_list): 
    for item in num_list: 
        if item < 0: 
           num_list.remove(item) 
    return num_list