diff --git a/curriculum/challenges/english/blocks/daily-coding-challenges-javascript/69a890af247de743333bd4d2.md b/curriculum/challenges/english/blocks/daily-coding-challenges-javascript/69a890af247de743333bd4d2.md index 675478fc3fa..5bdfd3e5564 100644 --- a/curriculum/challenges/english/blocks/daily-coding-challenges-javascript/69a890af247de743333bd4d2.md +++ b/curriculum/challenges/english/blocks/daily-coding-challenges-javascript/69a890af247de743333bd4d2.md @@ -24,7 +24,7 @@ The table above includes all upper and lower case letters. Additionally: - Periods (`"."`) have a width of 1 - If the given string is 50 units or less, return the string as-is, otherwise -- Truncate the string and add three periods at the end (`"..."`) so it's total width, including the three periods, is as close as possible to 60 units without going over. +- Truncate the string and add three periods at the end (`"..."`) so its total width, including the three periods, is as close as possible to 50 units without going over. # --hints-- diff --git a/curriculum/challenges/english/blocks/daily-coding-challenges-python/69a890af247de743333bd4d2.md b/curriculum/challenges/english/blocks/daily-coding-challenges-python/69a890af247de743333bd4d2.md index c3e71ec20d3..8980486f223 100644 --- a/curriculum/challenges/english/blocks/daily-coding-challenges-python/69a890af247de743333bd4d2.md +++ b/curriculum/challenges/english/blocks/daily-coding-challenges-python/69a890af247de743333bd4d2.md @@ -24,7 +24,7 @@ The table above includes all upper and lower case letters. Additionally: - Periods (`"."`) have a width of 1 - If the given string is 50 units or less, return the string as-is, otherwise -- Truncate the string and add three periods at the end (`"..."`) so it's total width, including the three periods, is as close as possible to 60 units without going over. +- Truncate the string and add three periods at the end (`"..."`) so its total width, including the three periods, is as close as possible to 50 units without going over. # --hints-- @@ -37,12 +37,12 @@ TestCase().assertEqual(truncate_text("The quick brown fox"), "The quick brown f. }}) ``` -`truncate_text("The silky smooth sloth")` should return `truncate_text("The silky smooth sloth")`. +`truncate_text("The silky smooth sloth")` should return `"The silky smooth s..."`. ```js ({test: () => { runPython(` from unittest import TestCase -TestCase().assertEqual(truncate_text("The silky smooth sloth"), truncate_text("The silky smooth sloth"))`) +TestCase().assertEqual(truncate_text("The silky smooth sloth"), "The silky smooth s...")`) }}) ```