Hi!
Just a short question about random number generation. First, please take a look at this line:
Every 0.1 seconds, this line converts a randomly generated number, between 0 and 3, from float to int... or does it not?
My question was, why it nearly never will reach number 3, while you observe it.
Am I right about this? -The number will nearly never be three because the computer is generating floats that will be rounded down to a whole number. Which means, the computer cuts down everything behind the period (for example: 2.3764763547 = 2 or 0.4657623846 = 0). This means, that I need to set the variable to int(random(0, 4)) to get a 3 by times.
Am I right?