Question #195

What is the output of the code snippet below?
print([1, 2, 3, 4, 5].pop(0))

pop() removes and returns last value from the list or the given index value! (geeksforgeeks.org/python-list-pop)


Comment on Disqus:

Comment on Twitter:

Question difficulty: ๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต


Similar questions: