Let’s check out some exercises that will help understand Nested Data better.
Print 5 by accessing the nested data.
You can chain the bracket notation: [][][] to access the element you need.
ans_1 = nested_lst[1][1]
Print "Z" from the nested data.
ans_1 = nested_lst[1][1][0]
What color is the violet?
ans_1 = nested_lst[2]["violet"]