The `dict()` constructor can take an iterator so you can drop the square brackets.