89.2k views
5 votes
What method is used to prevent the random number generator from always starting with the same number?

seed()

random()

randint()

initialize()

2 Answers

4 votes

Answer:

the answer is seed()

Step-by-step explanation:

i took the assignment

User OliverRadini
by
5.9k points
2 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 Manvinder
by
4.8k points