A Admin • 802.91K Points Coach Report Q. Which of the following is equivalent to `d['key'] = d.get('key', 0) + 1`? (A) d.increment('key') (B) d.update({'key': 1}) (C) d['key'] += 1 (D) None of the above Correct Answer - Option(D) Views: 2 Filed under category Python Hashtags: Python Dictionary Share Manage Tags
Discusssion
Login to discuss.