Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5
As you invoke `pop` in this famous_positions.pop(3) call, your list size had already been reduced from 5 to 4 because `pop` removes and returns a certain item based on index.
26th Oct 2019, 7:04 PM
Ipang