हिंदी

Which of the following built-in function/method returns a dictionary? - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Which of the following built-in function/method returns a dictionary?

विकल्प

  • dict()

  • keys()

  • values()

  • items()

MCQ
Advertisements

उत्तर

dict()

Explanation:

The dict() function creates an empty dictionary and returns the memory handle of the dictionary created to the variable on the left.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2024-2025 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×