A dictionary can be constructed in two ways: constructing from a mapping or an iterable of key-value pairs.