You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update instructions.append.md
Clarify that the built-in exponentiation operator ** is equivalent to pow() and therefore doesn't demonstrate an implementation of a square root algorithm, and also note that for the domain of this exercise there are available solutions using only positive integers.
* Update exercises/practice/square-root/.docs/instructions.append.md
Adhere to one sentence per line convention.
Co-authored-by: BethanyG <[email protected]>
---------
Co-authored-by: BethanyG <[email protected]>
Copy file name to clipboardExpand all lines: exercises/practice/square-root/.docs/instructions.append.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,11 @@
3
3
## How this Exercise is Structured in Python
4
4
5
5
6
-
Python offers a wealth of mathematical functions in the form of the [math module][math-module] and built-ins such as [`pow()`][pow] and [`sum()`][sum].
6
+
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].
7
7
However, we'd like you to consider the challenge of solving this exercise without those built-ins or modules.
8
8
9
-
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.
9
+
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.
10
+
It is possible to compute the square root of any natural number using only natural numbers in the computation.
0 commit comments