python make negative number = 0 code example Example: convert negative to zero in list in python [max(num, 0) for num in num_list]