Sort Dictionary by Key (Challenge)

# Introduction Dictionaries are an essential data structure in Python. They are used to store data in key-value pairs. However, sometimes it is necessary to sort the dictionary by key. In this challenge, you will be tasked with writing a function that sorts a dictionary by key.

|60 : 00

Click the virtual machine below to start practicing