Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

generate random integers in a range python

import random

print("Generating 3 random integer number between 100 and 999 divisible by 5")
for num in range(3):
    print(random.randrange(100, 999, 5), end=', ')
Source by pynative.com #
 
PREVIOUS NEXT
Tagged: #generate #random #integers #range #python
ADD COMMENT
Topic
Name
6+5 =