Why Random.seed!(123) don't produce the same result?

On my computer it gives ther same result every time if I re-run all three lines. If you only re-run the last line, you will get different results because the random number generator you seeded with 123 will keep evolving. Does that answer your question?

For more information: Random Numbers · The Julia Language

2 Likes