Page 1 of 1

After executing the following statements: scores_dict = {"mark": 150, "anika": 250) scores_list = [150, 250] scores_dict

Posted: Tue May 24, 2022 8:31 am
by answerhappygod
After Executing The Following Statements Scores Dict Mark 150 Anika 250 Scores List 150 250 Scores Dict 1
After Executing The Following Statements Scores Dict Mark 150 Anika 250 Scores List 150 250 Scores Dict 1 (55.24 KiB) Viewed 14 times
After executing the following statements: scores_dict = {"mark": 150, "anika": 250) scores_list = [150, 250] scores_dict["dacheng"] scores list.append(200) = 200 Expression scores_dict["dacheng"]==scores_list[2] evaluates to True The value of scores_dict["mark"] is 150 Expression scores_dict[0] returns an integer The value of scores_list[1] is 200 String '150' is a key in dictionary scores_dict