Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

random in range

// Get a random number between 20 and 30 
Math.round((Math.random() * (30 - 20 + 1)) + 20); 
Source by www.askpython.com #
 
PREVIOUS NEXT
Tagged: #random #range
ADD COMMENT
Topic
Name
2+3 =