Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move generic instructions into the correct section. #3815

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions exercises/practice/square-root/.docs/instructions.append.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions exercises/practice/square-root/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading