From 4f12cf15a0947bec3917d305ce6af342fa90083a Mon Sep 17 00:00:00 2001 From: Kristian Whittick Date: Mon, 29 Jul 2024 13:10:00 +0100 Subject: [PATCH] animal-magic: better clarify `GenerateWandEnergy ` result range (#2826) --- exercises/concept/animal-magic/.docs/instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/concept/animal-magic/.docs/instructions.md b/exercises/concept/animal-magic/.docs/instructions.md index 0e4fb5a90..3a770736f 100644 --- a/exercises/concept/animal-magic/.docs/instructions.md +++ b/exercises/concept/animal-magic/.docs/instructions.md @@ -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