RandomNumber method returns same number every time called

前端 未结 2 1314
难免孤独
难免孤独 2021-01-18 06:32

I am trying to generate a different random number every time my RandomNumber method is called from within my for loop. Right now, it returns the same number every time.

2条回答
  •  情话喂你
    2021-01-18 07:14

    There's nothing saying a truly random sequence can't be the same number each time! :-) There is a small probability it's legit so you can never truly be sure. ducks for cover

提交回复
热议问题