- Typos in [`about.md`](https://github.com/exercism/python/blob/main/concepts/bools/about.md):
- Lines 25, 28, 48, 51, 54, 57, 60, 63, 66, 98, 101, 109, and 112 are missing the space in between `>>>` and the expression.
- The literals on line 116 are not surrounded with backticks. It should probably be "(such as `1`, `''`, `[]`, or `{}`)".
As per this forum post, this issue will be a collection of all typos and similar errors I find from now on, grouped by exercise/concept.
Concept Exercises
Locomotive Engineer (addressed in PR 4173):
details
:that is normally in between the type and description of parameters.arbitrary number of stops." is not capitalized. Line 62 (list[tuple]: the list of rows of wagons.) is the same.wagons_rowsparameter is said to be of typelist[tuple], but it is actually of typelist[list[tuple]]. The return type has the same problem (line 62).hints.md:*argsoperator forlistortuplesor**kwargsfor keyword-based arguments." This replaces "parameters so can you" with "parameters, you can".zip(*iterators)can be used to transpose a nestedlist." This replaces "can use used" with "can be used".*", "Unpacking a dictionary", "Packing a dictionary with**", "Unpacking into function calls". This might just be an issue with the website, though.Little Sister's Essay (addressed in PR 4172):
details
Currency Exchange (addressed in PR 4178):
details
get_change()on line 45 (line 43 in the exemplar) has a period before the>>>, unlike all the other examples.Little Sister's Vocabulary (addressed in PR 4172):
details
hints.md:'beautiful'[:-3] == 'beauti'Black Jack (addressed in PR 4171) :
details
tupletype is mentioned, but it capitalizes it as "Tuple".Card Games (addressed in PR 4171) :
details
Making the Grade (addressed in PR 4175):
details
highest: int -instead ofhighest (int):list[float|int]type, which is equivalent tolist[float].hints.md:stopplaceholder is not surrounded by angled brackets:range(<start>, stop, <step>)should berange(<start>, <stop>, <step>).appendmethod:<list>.appendshould be<list>.append().Tisbury Treasure Hunt (addressed in PR 4175):
details
hints.mdEllen's Alien Game (addressed in PR 4176):
details
introduction.md:returnandself.instructions.md:3look disconnected from the>>> alien.health. The# Initialized health value.comment should probably be before the>>> alien.health, or at least the blank line in-between should be removed. (If the comment location is changed, the same change should probably be applied to the case at lines 106-108 as well.)...at the beginning of the line to indicate that it is a continuation of the>>>.(Student):andCreate.hints.md:self.<attribute>=<new attribute value>" should be "self.<attribute> = <new attribute value>".Details
Plane Tickets (addressed in PR 4180):
details
instructions.md:0s." This replaces "is appended by0s" with "is filled with0s".Concept Docs
Classes (addressed in PR 4176):
details
about.md:returnandself.Details
Strings (addressed in PR 4172):
details
introduction.md:about.md:<str> + <other str>or<str>.join(<iterable>), as well as split via<str>.split(<separator>). They also offer multiple formatting, assembly, and templating options."stopplaceholder is not surrounded by angled brackets:<str>[<start>:stop:<step>]should be<str>[<start>:<stop>:<step>].Basics (addressed in PR 4179):
details
introduction.md:&instead of a space.#.Nonewill be covered in a later exercise." However, there is no exercise for theNoneconcept, so it should say "The details ofNonewill be covered in a later concept."about.md:&even though it isn't a list of items.#.Nonewill be covered in a later exercise." However, there is no exercise for theNoneconcept, so it should say "The details ofNonewill be covered in a later concept."...at the beginning of the line to indicate that it is a continuation of the>>>.>>>before theimportstatement.Numbers (addressed in PR 4178):
details
about.md:round()syntax, but thenumberplaceholder is not surrounded by angled brackets:round(number, <decimal_places>)should beround(<number>, <decimal_places>).Bools (addressed in PR 4178):
details
Conditionals (addressed in PR 4179):
details
introduction.md:...at the beginning of the line to indicate that they are a continuation of the>>>.about.md:...at the beginning of the line to indicate that they are a continuation of the>>>.<value if True>if<conditional test>else<value if False>" should probably be "<value if True> if <conditional test> else <value if False>"Comparisons (addressed in PR 4171) :
details
about.md:x < yandy <= z" should probably be "x < y and y <= z">>>statement.introduction.md.)String Methods (addressed in PR 4172):
details
about.md:<str> + <other str>or<str>.join(<iterable>), as well as split via<str>.split(<separator>). They also offer multiple formatting, assembly, and templating options."<str>.that the other ones have. For example,startswith(<substr>)would be<str>.startswith(<substr>).>>instead of>>>.:star:emoji.remodule, which will be covered in a future exercise." However, there is no exercise for theRegular Expressionsconcept, so it should say "Python also supports regular expressions via theremodule, which will be covered in a future concept."Lists (addressed in PR 4171) :
details
about.md:...at the beginning of the line to indicate that they are a continuation of the>>>.startandstopplaceholders are not surrounded by angled brackets:<list>[start:stop]should be<list>[<start>:<stop>].game_grid = [[0]*8]*8orgame_grid = [[0]*8] * 8.List Methods (addressed in PR 4179):
details
about.md:Loops (addressed in PR 4175):
details
about.md:...to indicate it is a continuation of the>>>.>>>syntax like all of the others.Tuples (addressed in PR 4175):
details
about.md:<element)1>instead of<element_1>.tuple".>>>/...block. They should either be removed or replaced with a....+operator and string:+".".Dicts (addressed in PR 4177):
details
introduction.md:Keys". This should probably be changed to "Keys" or "keys".lists,dicts, orsets". For consistency, this should be "lists,dicts, orsets".about.md:Keys". This should probably be changed to "Keys" or "keys".lists,dicts, orsets". For consistency, this should be "lists,dicts, orsets"....to indicate that the line is a continuation of the>>>.dicts" on line 48 should be "dicts"..pop()syntax is mentioned, but thedictplaceholder does not have angled brackets:dict.pop(<key>, <default value>)should be<dict>.pop(<key>, <default value>).delstatement to remove a single or multiple entries." This should be changed to be something like the following: "You can also use thedelstatement to remove one or multiple entries." This changes "a single" to "one".KeyError" as "KeError".>>>when it should be a....#and the comment.