Browse Source

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

Hugo Locurcio 4 years ago
parent
commit
d1ecbbc3fb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/math/random_number_generation.rst

+ 1 - 1
tutorials/math/random_number_generation.rst

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