Skip to content

Commit 0dce2a5

Browse files
authored
Merge pull request #149 from LaunchCodeEducation/fix-modulus
fix modulus formatting
2 parents 5f41c22 + d0ed98b commit 0dce2a5

File tree

1 file changed

+3
-3
lines changed
  • content/data-and-variables/reading/operations

1 file changed

+3
-3
lines changed

content/data-and-variables/reading/operations/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ The `%` operator returns the *remainder* obtained by carrying out integer divisi
9090
- 7 % 2 is 1
9191

9292
The last two examples illustrate a general rule: An integer x is even exactly
93-
when `x % 2`% is %`0%` and is odd exactly when %`x % 2%` is %`1%`.
93+
when `x % 2` is `0` and is odd exactly when `x % 2` is `1`.
9494
{{% /notice %}}
9595

9696
{{% notice blue Note "rocket" %}}
97-
The value returned by %`a % b%` will be in the range from `%0%` to %`b`%
98-
(not including `%b%`).
97+
The value returned by `a % b` will be in the range from `0` to `b`
98+
(not including `b`).
9999
{{% /notice %}}
100100

101101
{{% notice green Tip "rocket" %}}

0 commit comments

Comments
 (0)