Question #294

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

Without argument, the pop() function will remove (and return) the last element of the list e.g. 6 . (geeksforgeeks.org/python-list-pop/#:~:text=pop()%20is%20a...)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵