Skip to content

Commit 4f12cf1

Browse files
animal-magic: better clarify GenerateWandEnergy result range (#2826)
1 parent dbb277d commit 4f12cf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/concept/animal-magic/.docs/instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ d := RollADie() // d will be assigned a random int, 1 <= d <= 20
1616
## 2. Generate wand energy.
1717

1818
Implement a `GenerateWandEnergy` function.
19-
The wand energy should be a random floating point number between 0.0 and 12.0.
19+
The wand energy should be a random floating point number equal or greater than 0.0 and less than 12.0.
2020

2121
```go
2222
f := GenerateWandEnergy() // f will be assigned a random float64, 0.0 <= f < 12.0

0 commit comments

Comments
 (0)