Skip to content

Commit

Permalink
Update content.md (exercism#3829)
Browse files Browse the repository at this point in the history
Add missing URI for "dictionary approach"
  • Loading branch information
xanni authored Nov 24, 2024
1 parent 2779c27 commit c38e94b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ The `score` function uses the same [generator expression][generator-expression]
Instead of looking up the value in a _dictionary_, it looks up the `InEnum` class member value.

[classes]: https://docs.python.org/3/tutorial/classes.html
[dictionary-approach]: https://exercism.org/tracks/python/exercises/scrabble-score/approaches/dictionary
[enum]: https://docs.python.org/3/library/enum.html
[generator-expression]: https://peps.python.org/pep-0289/
[int-enum]: https://docs.python.org/3/library/enum.html#enum.IntEnum
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ You can read more about unpacking in the [concept:python/unpacking-and-multiple-

Then the code checks if the character is in the unpacked letters and if it is we return its score.

[dictionary-approach]: https://exercism.org/tracks/python/exercises/scrabble-score/approaches/dictionary
[generator-expression]: https://peps.python.org/pep-0289/
[for-loop]: https://realpython.com/python-for-loop/
[tuple]: https://docs.python.org/3/tutorial/datastructures.html#tuples-and-sequences

0 comments on commit c38e94b

Please sign in to comment.