Why is it hard for a program to generate random numbers?

后端 未结 26 3514
自闭症患者
自闭症患者 2020-12-15 05:38

My kids asked me this question and I couldn\'t really give a concise, understandable explanation.

So I\'m hoping someone on SO can.

26条回答
  •  粉色の甜心
    2020-12-15 06:21

    It is hard because given the same sets of inputs and conditions, a program will produce the same result everytime. This by definition is not random.

提交回复
热议问题