The dict() function can take a list of tuples and create a dictionary from them.

Make sure to type dict.