diff --git a/concepts/string-formatting/introduction.md b/concepts/string-formatting/introduction.md index 31786a6b8..3e706ed02 100644 --- a/concepts/string-formatting/introduction.md +++ b/concepts/string-formatting/introduction.md @@ -30,7 +30,7 @@ The text in braces, placeholders in the case of the composite format and interpo A format item can comprise up to 3 parts. The first is the mandatory expression or argument placeholder as seen in the example code above. In addition, there is an optional alignment (introduced with a comma, ",") and an optional _format string_ (introduced with a colon ":"). -`{[,][:]` +`{[,][:]}` The _alignment_ specifies the length of the "field" in which the text is placed, padded to the left with spaces if the alignment is positive or to the right if it is negative. diff --git a/exercises/concept/high-school-sweethearts/.docs/introduction.md b/exercises/concept/high-school-sweethearts/.docs/introduction.md index d59b6c09e..d7d279d5f 100644 --- a/exercises/concept/high-school-sweethearts/.docs/introduction.md +++ b/exercises/concept/high-school-sweethearts/.docs/introduction.md @@ -32,7 +32,7 @@ The text in braces, placeholders in the case of the composite format and interpo A format item can comprise up to 3 parts. The first is the mandatory expression or argument placeholder as seen in the example code above. In addition, there is an optional alignment (introduced with a comma, ",") and an optional _format string_ (introduced with a colon ":"). -`{[,][:]` +`{[,][:]}` The _alignment_ specifies the length of the "field" in which the text is placed, padded to the left with spaces if the alignment is positive or to the right if it is negative.