File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
exercises/practice/scrabble-score/.approaches Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ The `score` function uses the same [generator expression][generator-expression]
4848Instead of looking up the value in a _ dictionary_ , it looks up the ` InEnum ` class member value.
4949
5050[ classes ] : https://docs.python.org/3/tutorial/classes.html
51+ [ dictionary-approach ] : https://exercism.org/tracks/python/exercises/scrabble-score/approaches/dictionary
5152[ enum ] : https://docs.python.org/3/library/enum.html
5253[ generator-expression ] : https://peps.python.org/pep-0289/
5354[ int-enum ] : https://docs.python.org/3/library/enum.html#enum.IntEnum
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ You can read more about unpacking in the [concept:python/unpacking-and-multiple-
3030
3131Then the code checks if the character is in the unpacked letters and if it is we return its score.
3232
33+ [ dictionary-approach ] : https://exercism.org/tracks/python/exercises/scrabble-score/approaches/dictionary
3334[ generator-expression ] : https://peps.python.org/pep-0289/
3435[ for-loop ] : https://realpython.com/python-for-loop/
3536[ tuple ] : https://docs.python.org/3/tutorial/datastructures.html#tuples-and-sequences
You can’t perform that action at this time.
0 commit comments