Skip to content

Commit

Permalink
animal-magic: better clarify GenerateWandEnergy result range (#2826)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristianwhittick authored Jul 29, 2024
1 parent dbb277d commit 4f12cf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/concept/animal-magic/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ d := RollADie() // d will be assigned a random int, 1 <= d <= 20
## 2. Generate wand energy.

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

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

0 comments on commit 4f12cf1

Please sign in to comment.