Skip to content

add example: invert dictionary 2 #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 20, 2025

Conversation

polyxord
Copy link
Contributor

Here's an alternative way to invert a dictionary.

I didn't want to update the existing example since this new way only takes one less keystroke, and I think that there's learning value in seeing both ways of doing things.

It is a bit redundant to have a different file for the same scenario, so I would understand if you don't want to add this.

@nik-rev
Copy link
Owner

nik-rev commented Jul 20, 2025

Thanks, I think it's cool to have multiple ways to do the same thing as long as each offers a unique approach

@nik-rev nik-rev merged commit b2ec010 into nik-rev:main Jul 20, 2025
1 check passed
@polyxord polyxord deleted the invert-dictionary-2 branch July 20, 2025 14:21
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.

2 participants