Question #338

What is the output of the code snippet below?
my_list = ["Python", "Java", "JavaScript", "C++"]
print(my_list[-1][-1])

It will print + . [-1] first selects C++ and the second one selects + . (railsware.com/blog/python-for-machine-learning-indexing-a...)


Comment on Disqus:

Question difficulty: 🔵🔵🔵🔵🔵