338,265 views
39 votes
39 votes
What method is used to prevent the random number generator from always starting with the same number?

seed()

random()

randint()

initialize()

User JLTChiu
by
2.7k points

2 Answers

11 votes
11 votes

Answer:

the answer is seed()

Step-by-step explanation:

i took the assignment

User Carlos Villalba
by
2.2k points
12 votes
12 votes

Answer:

seed()

Step-by-step explanation:

Since computer random isn't actually random, and is a predetermined sequence of numbers, seed() allows us to create different sequences of numbers, and thus more randomized numbers.

Hope this helps!

User Mayur Kharche
by
3.0k points