Which function sets the integer starting value used in generating random numbers in python?
Answers
Answered by
0
Answer:
choice() :- This function is used to generate 1 random number from a container.
randrange(beg, end, step) :- This function is also used to generate random number but within a range specified in its arguments.
random() :- This number is used to generate a float random number less than 1 and greater or equal to 0.
seed() :- This function maps a particular random number with the seed argument mentioned. All random numbers called after the seeded value returns the mapped number.
Similar questions
Computer Science,
6 months ago
English,
6 months ago
Math,
6 months ago
Economy,
1 year ago
History,
1 year ago