0
Li= [1, 5, 14, 28, 12] print (Li.pop (2)+Li.pop (3))
I want to know how is the answer 26
1 Answer
+ 8
Li = [ 1,5, 14, 28, 12 ]
Li.pop(2) returns 14 and Li = [1, 5,28,12] . Next,
Li.pop(3) returns 12 and Li = [1, 5, 28]
So 14+12 = 26
I want to know how is the answer 26