Blog

What is the output of the following code?

list = [[1], {‘a’: 1}, ‘b’, ‘a’]
list[1][‘a’]