convert negative to zero in list in python

Solutions on MaxInterview for convert negative to zero in list in python by the best coders in the world

showing results for - "convert negative to zero in list in python"
Ilana
12 Oct 2016
1[max(num, 0) for num in num_list]