Skip to content

Point out that output of zip can be passed directly to dict#208

Open
DJHills wants to merge 1 commit intorsokl:masterfrom
DJHills:pass-zip-output-to-dict
Open

Point out that output of zip can be passed directly to dict#208
DJHills wants to merge 1 commit intorsokl:masterfrom
DJHills:pass-zip-output-to-dict

Conversation

@DJHills
Copy link

@DJHills DJHills commented Jan 9, 2026

I think it might be worth mentioning that the dict class can be used directly here (without the need for a comprehension), especially since this method of constructing a dict was mentioned earlier in the "Constructing a dictionary" section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant