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