I'm having problems with the " free thing's" task
A store is doing a promotion today! If the price of an item is an odd number, you will get that item for free! A list is used to store the prices of all the items in the shopping cart. The given code uses a time loop to iterate over the list, calculates the price of all the items in the list, and produces the result. Change the code to skip the odd prices, calculate the sum of only the even prices and get the result. Use the continue statement to skip the loop iterations, where the number is odd. they give me this code as an example: items = [23, 555, 666, 123, 128, 4242, 990] sum = 0 n = 0 while n < len(items): num = items[n] n += 1 sum += num print(sum) The problem is that i don't understand how it works, the last time when you give me the code of the other task i understand how it work , but this is the first time I see this time of code, if you help me it would be awesome.