下述字典中(和第5题字典一样),若要获取所有电影的名字,正确的代码是() my_dict={ "count":2, "start":0, "subject_collection_items":[{ "rating":{"count":11223,"value":5.2}, "title":"铁血战士", "year":2018, "actor":["波伊德·霍布鲁克", "·罗兹", "雅各布·特伦"] },{ "rating":{"count":244502,"value":8.1}, "title":"无双", "year":2018, "actor":["", "", ""] }] }
A.
film_list=[] for item in my_dict["subject_collection_items"]: film_list.append(item["title"]) print(film_list)
B.
film_list=[] for item in my_dict: film_list.append(item["title"]) print(film_list)
C.
film_list=[] i=0 for item in my_dict["subject_collection_items"]: film_list[i] = item["title"] i += 1 print(film_list)
D.
film_list=[] for item in my_dict["subject_collection_items"]: film_list.append(item) print(film_list)