<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rsc96074</author_name>
  <author_url>https://blog.hatena.ne.jp/rsc96074/</author_url>
  <blog_title>rscのブログ</blog_title>
  <blog_url>https://rsc.hatenablog.com/</blog_url>
  <categories>
    <anon>Q</anon>
    <anon>Python</anon>
  </categories>
  <description>質問のコインの確率の問題をPythonで解いてみました。(^_^; A、Bが以下のルールで勝負したとき、Aが勝利する確率を計算してください。 ［ルール1］コインを投げて、表が出たらAのポイント、裏が出たらBのポイントとする。 ［ルール2］先に6ポイント獲得した方が、その時に相手に2ポイント以上の差をつけていた場合に勝利とする。どちらかが6ポイント獲得した際のポイント差が0または1の場合は、2ポイントの差がつくまでコインを投げ続けることとする。 ［ルール3］1回目はコインの表が出たと仮定して計算することとする。 Aがコインを投げる回数12回以下で勝利する確率を求めてください。 確率の問題は、検算…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frsc.hatenablog.com%2Fentry%2F20180608%2F1528407597&quot; title=&quot;質問のコインの確率の問題をPythonで解いてみた。 - rscのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-06-08 06:39:57</published>
  <title>質問のコインの確率の問題をPythonで解いてみた。</title>
  <type>rich</type>
  <url>https://rsc.hatenablog.com/entry/20180608/1528407597</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
