you have created an infinite loop here as the condition x < 1000 is ALWAYS TRUE. This is not what we want as this will crash our browser or software most likely.The result of your formula in always 1.0 and it gets printed an endless number of times!
It looks nice, if I may I suggest you to print number in int format, just print(int(x)) since they will all be integers they would look nicer.And also I have just read they are a sum of natural numbers (whole numbers), so they don't want decimals.
I have now carried out a test run of the update from Gitlab 15.11 to version 16.0.1 and here I have an endless CPU load that ebbs after a short time for a few seconds and then goes back to 100% for all cores.
A random number is a number chosen from a pool of limited or unlimited numbers that has no discernible pattern for prediction. The pool of numbers is almost always independent from each other. However, the pool of numbers may follow a specific distribution. For example, the height of the students in a school tends to follow a normal distribution around the median height. If the height of a student is picked at random, the picked number has a higher chance to be closer to the median height than being classified as very tall or very short. The random number generators above assume that the numbers generated are independent of each other, and will be evenly spread across the whole range of possible values.
A random number generator, like the ones above, is a device that can generate one or many random numbers within a defined scope. Random number generators can be hardware based or pseudo-random number generators. Hardware based random-number generators can involve the use of a dice, a coin for flipping, or many other devices.
A pseudo-random number generator is an algorithm for generating a sequence of numbers whose properties approximate the properties of sequences of random numbers. Computer based random number generators are almost always pseudo-random number generators. Yet, the numbers generated by pseudo-random number generators are not truly random. Likewise, our generators above are also pseudo-random number generators. The random numbers generated are sufficient for most applications yet they should not be used for cryptographic purposes. True random numbers are based on physical phenomena such as atmospheric noise, thermal noise, and other quantum phenomena. Methods that generate true random numbers also involve compensating for potential biases caused by the measurement process.