[Solved]-Question 1 1 Pts First Element List Named Data Obtained O Dataindex 1 Data O O Dataindex O Q37224075
![Question 1 1 pts The first element of a list named data is obtained by O data.index(1) data[O] O data.index(O) data(O) data](https://media.cheggcdn.com/media%2F1bc%2F1bcc6356-4e2a-4b4c-bbc9-359147c73cfe%2FphpJS9zNB.png)
Question 1 1 pts The first element of a list named ‘data’ is obtained by O data.index(1) data[O] O data.index(O) data(O) data 1) datal1] Question 2 1 pts Suppose ‘capitals’ is a dictionary associating countries with their capital cities. If we found that Egypt was missing and wanted to add it to the dictionary, the way to do that would be O capitals’Egypt]- ‘Cairo capitals(nations.index(Egypt)]-Cairo capitals(‘Egypt) “Cairo capitals.append(Egypt’Cairo capitals.insert’EgyptCairo) Show transcribed image text Question 1 1 pts The first element of a list named ‘data’ is obtained by O data.index(1) data[O] O data.index(O) data(O) data 1) datal1] Question 2 1 pts Suppose ‘capitals’ is a dictionary associating countries with their capital cities. If we found that Egypt was missing and wanted to add it to the dictionary, the way to do that would be O capitals’Egypt]- ‘Cairo capitals(nations.index(Egypt)]-Cairo capitals(‘Egypt) “Cairo capitals.append(Egypt’Cairo capitals.insert’EgyptCairo)
Expert Answer
Answer to Question 1 1 pts The first element of a list named ‘data’ is obtained by O data.index(1) data[O] O data.index(O) data(O)… . . .
OR

