A Admin • 828.70K Points Coach Q. Which of the following is the correct way to define a dictionary? (A) dict = [1: 'a', 2: 'b'] (B) dict = (1: 'a', 2: 'b') (C) dict = {1: 'a', 2: 'b'} (D) dict = '1: a, 2: b' Correct Answer - Option(C) Views: 6 Filed under category Python Hashtags: Python Dictionary Share Manage Tags
Discusssion
Login to discuss.