Multiple Choice:
Which of the following is the correct way to access the value 40 from the list?
mylist = [("blue", 50), {"black": 40}, ["brown", 20]]
Multiple Choice:
Which of the following is the correct way to access the value 40 from the list?
mylist = [("blue", 50), {"black": 40}, ["brown", 20]]
mylist[0][1]
mylist[1]["black"]
mylist[1][1]
mylist[2][1]