How to simulate rolling two dice and choosing a number and plotting?

前端 未结 0 716
时光取名叫无心
时光取名叫无心 2021-02-06 03:56

The problem goes like this:

You pick a dice, if you obtain:

  • 5 or 6: You pick a number with normal distribution
  • 3 or 4: You pick an uniformly random
相关标签:
回答
  • 消灭零回复
提交回复
热议问题