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

This commit is contained in:
Hugo Locurcio
2020-10-02 13:39:49 +02:00
parent be239920ea
commit d1ecbbc3fb

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
--------------------------