Question: Can someone explain to me step-by-step on how to do this. I know the answer is [25,45,34] but I'm unclear on how the code is
Can someone explain to me step-by-step on how to do this. I know the answer is [25,45,34] but I'm unclear on how the code is running.
v = 5 lst = [20,40,30] for i in range(len(lst)): lst[i] = lst[i] + v v = v - i print(lst)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
