A Admin • 832.52K Points Coach Q. What is the output of `dict(zip(['a', 'b'], [1, 2]))`? (A) {'a': 1, 'b': 2} (B) [('a', 1), ('b', 2)] (C) {1: 'a', 2: 'b'} (D) Error Correct Answer - Option(A) Views: 15 Filed under category Python Hashtags: Python Dictionary Share Manage Tags
Discusssion
Login to discuss.