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