{"id":4703,"date":"2016-08-24T11:44:33","date_gmt":"2016-08-24T16:44:33","guid":{"rendered":"http:\/\/appcrawler.com\/wordpress\/?p=4703"},"modified":"2016-08-24T11:44:53","modified_gmt":"2016-08-24T16:44:53","slug":"what-is-the-most-likely-dice-roll","status":"publish","type":"post","link":"http:\/\/appcrawler.com\/wordpress\/2016\/08\/24\/what-is-the-most-likely-dice-roll\/","title":{"rendered":"What is the most likely dice roll?"},"content":{"rendered":"<p>Probably common sense, but this statistically supports the most common roll of the dice.  Of course, this assumes physical normalcy of the die, not loaded, etc. \ud83d\ude42<\/p>\n<pre>\r\n[root@cmhlcanlyodb01 ~]# cat rand.py\r\nimport random\r\nd = dict()\r\nfor i in range(1,100001):\r\n  j=random.randint(1,6)\r\n  k=random.randint(1,6)\r\n  l=j+k\r\n  if l in d:\r\n    d[l] = d[l] + 1\r\n  else:\r\n    d[l] = 1\r\n\r\nfor a in d:\r\n  print str(a).rjust(10,' '),str(d[a]).rjust(10,' '),\r\n        str(round(float(d[a])*100\/float(100001),1)).rjust(10,' ')\r\n[root@cmhlcanlyodb01 ~]# python rand.py\r\n         2       2739        2.7\r\n         3       5568        5.6\r\n         4       8320        8.3\r\n         5      11355       11.4\r\n         6      13765       13.8\r\n         7      16830       16.8\r\n         8      13695       13.7\r\n         9      10991       11.0\r\n        10       8269        8.3\r\n        11       5687        5.7\r\n        12       2781        2.8\r\n[root@cmhlcanlyodb01 ~]#\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Probably common sense, but this statistically supports the most common roll of the dice. Of course, this assumes physical normalcy of the die, not loaded, etc. \ud83d\ude42 [root@cmhlcanlyodb01 ~]# cat rand.py import random d = dict() for i in range(1,100001):&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/appcrawler.com\/wordpress\/2016\/08\/24\/what-is-the-most-likely-dice-roll\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"footnotes":""},"categories":[8,4],"tags":[],"_links":{"self":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/4703"}],"collection":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/comments?post=4703"}],"version-history":[{"count":5,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/4703\/revisions"}],"predecessor-version":[{"id":5609,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/4703\/revisions\/5609"}],"wp:attachment":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/media?parent=4703"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/categories?post=4703"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/tags?post=4703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}