हिंदी

Given the following dictionaries. dict_exam={"Exam":"AISSCE", "Year":2023} dict_result={"Total":500, "Pass_Marks":165} Which statement will merge the contents of both dictionaries?

Advertisements
Advertisements

प्रश्न

Given the following dictionaries.

dict_exam={"Exam":"AISSCE", "Year":2023}
dict_result={"Total":500, "Pass_Marks":165}

Which statement will merge the contents of both dictionaries?

विकल्प

  • dict_exam.update(dict_result)
  • dict_exam + dict_result
  • dict_exam.add(dict_result)
  • dict_exam.merge(dict_result)
MCQ
Advertisements

उत्तर

dict_exam.update(dict_result)
shaalaa.com
The Pickle Module in Python
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2022-2023 (March) Sample
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×