random() function

Random() function doesn't work for me, it prints the same number over and over again!

Sorry for your time. I found out that I have to use randomSeed() too. Have a good day :)

Note: you have to seed randomSeed() differently to get different values for random.