[Grade School and Relative Distance] Instructions append errors and improvements

The instruction appends for the Grade School and Relative Distance exercises have two links in succession that are both called “classes”, which is rather confusing. Relevant sentence:

If you are unfamiliar with `class`es in Python, [concept:python/classes]() and [classes][classes in python] (_from the Python docs_) are good places to start.

These would be much clearer if the link texts mentioned them being from the syllabus and the Python docs, respectively. Though changing the widget’s link text might not be possible, the “(from the Python docs)” could at least be moved into the link text, which would at least help somewhat.


In the instructions append for Relative Distance, line 9 isn’t rendered properly:

RelativeDistance should be initialized (see init() for more information)_ using family_tree, a dictionary where the keys are individuals and values are lists of that individual’s children.

The double underscores in __init__() are treated as bold markdown instead of literal underscores. This could be fixed by surrounding the term in backticks.

The sentence also a stray underscore after the closing parenthesis.

1 Like

Hi @Yrahcaz7 :smile:

Consider it added to the list of things to fix!

Thanks for reporting this. :blue_heart:

This has been addressed in PR 4248.

2 Likes