I have a big list of numbers like;
original_list = [20,10,15,56,80,200,47,12, 4,70,...]
I want to raise the numbers by 20 percent where they are less than 50, and keep the rest as they are in the list in the original order.
Is there any single comprehension method to make the second list without using function? perhaps;
revised_list =[x*1.2 for x in original_list if x < 50 else y for y in original_list]