remove negative numbers from list python

Solutions on MaxInterview for remove negative numbers from list python by the best coders in the world

showing results for - "remove negative numbers from list python"
Julieta
07 Feb 2018
1my_positive_list = [number for number in my_list if number >= 0]