Question #250

What is the output of the code snippet below?
my_tuple = (100, 200, 300, 400, 500)
my_tuple.pop(2)
print(my_tuple)

It will throw an AttributeError error. Tuples are not mutable. (docs.python.org/3/tutorial/datastructures.html)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: