Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

finding random numbers python

#importation
from random import seed
from random import randint

seed(1) #the seed. a random number genorator

for _ in range(10): #how many times you wanna do it
	value = randint(0, 10) #gonna random 0 out of 10
	print(value) #gonna print the random value
Source by elearning.wsldp.com #
 
PREVIOUS NEXT
Tagged: #finding #random #numbers #python
ADD COMMENT
Topic
Name
5+9 =