Fix syntax error in the randi_range() example in the RNG tutorial

This commit is contained in:
Hugo Locurcio
2021-03-16 22:11:01 +01:00
parent be239920ea
commit d1ecbbc3fb
+1 -1
View File
@@ -110,7 +110,7 @@ and ``to``, and returns a random integer between ``from`` and ``to``::
# Prints a random floating-point number between -10 and 10.
var rng = RandomNumberGenerator.new()
rng.randomize()
print(rng.randi_range(-10, 10)
print(rng.randi_range(-10, 10))
Get a random array element
--------------------------