Design a program in Python that takes in a list of numbers and outputs the list after removing all negative numbers
def remove_negatives(list):
    filtered_list = list(filter(lambda x: x>=0,list))
    return filtered_list