मराठी

Identify the invalid Python statement from the following. - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Identify the invalid Python statement from the following.

पर्याय

  • d = dict()

  • e = {}

  • f = []

  • g = dict{}

MCQ

उत्तर

g = dict{}

Explanation:

The form of the dict() function is =dict(). The Python syntax g=dict{} is incorrect.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2023-2024 (February) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×