A Admin • 833K Points Coach Q. How to sort a dictionary by its keys? (A) sorted(dict) (B) dict.sort() (C) sorted(dict.items()) (D) sort(dict) Correct Answer - Option(C) Views: 16 Filed under category Python Hashtags: Python Dictionary Share Manage Tags
Discusssion
Login to discuss.