From 056da4d6806efc037b0c92cfc2f470c3461cffe3 Mon Sep 17 00:00:00 2001 From: Andrew Pam Date: Tue, 5 Nov 2024 13:12:20 +1100 Subject: [PATCH 1/2] Update instructions.md Move generic instructions to the correct section. --- exercises/practice/square-root/.docs/instructions.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exercises/practice/square-root/.docs/instructions.md b/exercises/practice/square-root/.docs/instructions.md index e9905e9d41..527ceae21d 100644 --- a/exercises/practice/square-root/.docs/instructions.md +++ b/exercises/practice/square-root/.docs/instructions.md @@ -9,5 +9,7 @@ Check out the Wikipedia pages on [square root][square-root] and [methods of comp Recall also that natural numbers are positive real whole numbers (i.e. 1, 2, 3 and up). +It is possible to compute the square root of any natural number using only natural numbers in the computation. + [square-root]: https://en.wikipedia.org/wiki/Square_root [computing-square-roots]: https://en.wikipedia.org/wiki/Methods_of_computing_square_roots From c259885211f591c9bfd4ee69408a9d07d48a48e2 Mon Sep 17 00:00:00 2001 From: Andrew Pam Date: Tue, 5 Nov 2024 13:12:34 +1100 Subject: [PATCH 2/2] Update instructions.append.md Move generic instructions to the correct section. --- exercises/practice/square-root/.docs/instructions.append.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/exercises/practice/square-root/.docs/instructions.append.md b/exercises/practice/square-root/.docs/instructions.append.md index eab4f0ac65..2fda0af03e 100644 --- a/exercises/practice/square-root/.docs/instructions.append.md +++ b/exercises/practice/square-root/.docs/instructions.append.md @@ -6,9 +6,7 @@ Python offers a wealth of mathematical functions in the form of the [math module][math-module] and built-ins such as the exponentiation operator `**`, [`pow()`][pow] and [`sum()`][sum]. However, we'd like you to consider the challenge of solving this exercise without those built-ins or modules. -While there is a mathematical formula that will find the square root of _any_ number, we have gone the route of having only [natural numbers][nautral-number] (positive integers) as solutions. -It is possible to compute the square root of any natural number using only natural numbers in the computation. - +While there is a mathematical formula that will find the square root of _any_ number, we have gone the route of having only [natural numbers][nautral-number] (positive integers) as solutions. [math-module]: https://docs.python.org/3/library/math.html [pow]: https://docs.python.org/3/library/functions.html#pow