Depending on the programming language / script, there are so-called pseudo-random values. Since there is no way on computers to simply select the number that comes to their mind (heh!), There is an algorithm / calculation that creates the number. The principle is very simple. The random value you get is random, because the way you calculate it is not known to you. If you had a randomizer function that worked for some time without changing its seed (the value that you can enter to change the calculation in the background), the values it gives will be repeated.
source share