Map List to Dictionary (Challenge)

# Introduction In Python, a dictionary is a collection of key-value pairs. Sometimes, we need to create a dictionary from a list where the keys are the elements of the list and the values are the result of applying a function to those elements. In this challenge, you will create a function that maps the values of a list to a dictionary using a function.

|60 : 00

Click the virtual machine below to start practicing