remove negative numbers from list python code example
Example: remove negative numbers from list python
my_positive_list = [number for number in my_list if number >= 0]
my_positive_list = [number for number in my_list if number >= 0]