Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

generate random whole numbers within a range

function roundWholeNum(){


return Math.floor(Math.random() * 20);
}

console.log(roundWholeNum());
Source by pynative.com #
 
PREVIOUS NEXT
Tagged: #generate #random #numbers #range
ADD COMMENT
Topic
Name
6+6 =