Skip to content

Commit df552ce

Browse files
authored
grains approaches: fix incorrect exponent (#1619)
Fix the wrong power of two that gives us 8. Was `2 to the power of 4 = 8` Changed to `2 to the power of 3 = 8`
2 parents c53bc5c + 2c61885 commit df552ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/practice/grains/.approaches/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ You can see that the exponent, or power, that `2` is raised by is always one les
1818
| 1 | 0 | 2 to the power of 0 = 1 |
1919
| 2 | 1 | 2 to the power of 1 = 2 |
2020
| 3 | 2 | 2 to the power of 2 = 4 |
21-
| 4 | 3 | 2 to the power of 4 = 8 |
21+
| 4 | 3 | 2 to the power of 3 = 8 |
2222

2323
## Approach: `pow`
2424

0 commit comments

Comments
 (0)