This. You need to add the the list, if you just use a = sign it'll overwrite the value each loop.
Comment has been collapsed.
Don't know what you're trying to do exactly but using static seeds will always produce the same output. Computers are deterministic systems so the same starting conditions will always lead to the same results.
If that's not what you're trying to do, what you could do instead is generate a GUID then hash it and use it as a seed.
edit: ok guess you wanted fixed results
Comment has been collapsed.
Comment has been collapsed.
put on hold as off-topic by grego87 ♦ 1 hours ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting." – grego87 ♦
If this question can be reworded to fit the rules in the help center, please edit the question.
Comment has been collapsed.
2 Comments - Last post 1 hour ago by shirepirate
127 Comments - Last post 1 hour ago by Golwar
1,938 Comments - Last post 1 hour ago by drschnell
362 Comments - Last post 2 hours ago by Reidor
2,212 Comments - Last post 2 hours ago by Carenard
13 Comments - Last post 5 hours ago by KaiserDark
1,401 Comments - Last post 5 hours ago by LinkW
174 Comments - Last post 11 minutes ago by nornsoir
18 Comments - Last post 23 minutes ago by SilenceMhL
19 Comments - Last post 43 minutes ago by xXShurraXx
176 Comments - Last post 44 minutes ago by DancingXmas
136 Comments - Last post 58 minutes ago by Talleyrand
79 Comments - Last post 1 hour ago by Mikurden
64 Comments - Last post 1 hour ago by schmoan
Comment has been collapsed.