A Admin • 802.91K Points Coach Report Q. What is the output of: `d = {'x': 100, 'y': 200}; d['z'] = d.get('z', 300)`? (A) {'x': 100, 'y': 200} (B) {'x': 100, 'y': 200, 'z': 300} (C) Error (D) {'z': 300} Correct Answer - Option(B) Views: 1 Filed under category Python Hashtags: Python Dictionary Share Manage Tags
Discusssion
Login to discuss.