Markdown error (typo) in Enum Dig Deeper

On the page at Explore the 'Enum' approach for Scrabble Score in Python on Exercism the markdown code for the link is invalid: [dictionary approach][dictionary-approach]

I clicked on all links seem to be working for me. Is it possible to be more specific?

In this case, and I will likely be unable to see this, but someone in the house can show me, a screen shot with an arrow might be helpful here.

In the very last paragraph of the page there is no link to click on, that’s the point:

The score function takes a word as an argument. The score function uses the same generator expression as the [dictionary approach][dictionary-approach], but with a slight modification. Instead of looking up the value in a dictionary, it looks up the InEnum class member value.

Note that “dictionary approach” is presumably intended to be a link.

Thank you, that cleared it up definitively.

The file to update is: exercises/practice/scrabble-score/.approaches/enum/content.md in the exercism/python repository.

Would you like to create the patch?

It will likely be something like this:

diff --git a/exercises/practice/scrabble-score/.approaches/enum/content.md b/exercises/practice/scrabble-score/.approaches/enum/content.md
index 5c2ad3a1..d563cc60 100644
--- a/exercises/practice/scrabble-score/.approaches/enum/content.md
+++ b/exercises/practice/scrabble-score/.approaches/enum/content.md
@@ -47,8 +47,10 @@ The `score` function takes a word as an argument.
 The `score` function uses the same [generator expression][generator-expression] as the [dictionary approach][dictionary-approach], but with a slight modification.
 Instead of looking up the value in a _dictionary_, it looks up the `InEnum` class member value.
 
+[dictionary-approach]: https://exercism.org/tracks/python/exercises/scrabble-score/approaches/dictionary
 [classes]: https://docs.python.org/3/tutorial/classes.html
 [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
 [import]: https://docs.python.org/3/reference/import.html
+
diff --git a/exercises/practice/scrabble-score/.approaches/nested-tuple/content.md b/exercises/practice/scrabble-score/.approaches/nested-tuple/content.md
index 70dc860a..6bbd28a6 100644
--- a/exercises/practice/scrabble-score/.approaches/nested-tuple/content.md
+++ b/exercises/practice/scrabble-score/.approaches/nested-tuple/content.md
@@ -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

Two files were found with the link, but no URI portion there.

1 Like

Sure, I can create the patch. Thanks!

PR created: Update content.md by xanni · Pull Request #3829 · exercism/python · GitHub

PR Approved and merged. Thanks for submitting!

2 Likes