/334

なんでや!

Primary LanguagePython

##なんでや!阪神関係ないやろ! サイコロをふり、3、3、4が連続で出るまでの回数の平均を調べます。

問題: https://twitter.com/msmt9/status/556022313057927168 の(2)
解答: https://twitter.com/msmt9/status/556068948437770240

ipython notebookでの実行結果 https://github.com/myuuuuun/334/blob/master/334.ipynb

##実行結果

189 191 184 197 193 193 198 189 189 196 197 190 188 185 188 184 185 186 183 196 188 201 198 189 189 191 194 192 184 196 192 187 193 205 187 192 193 184 184 190 193 184 196 185 196 192 186 192 196 192 193 185 190 184 185 198 187 193 190 199 188 208 201 191 195 202 190 182 190 182 203 189 191 195 188 185 196 197 191 183 188 202 199 199 186 189 196 179 193 195 196 192 195 194 196 191 197 182 198 192

解答の期待値216回にせまる値はなかなかでませんね……