python program to remove negative numbers from a list 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]