{"blog_title":"LazyLife@Diary","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdplusplus.hatenablog.com%2Fentry%2F20071028%2Fp1\" title=\"6. tennis - LazyLife@Diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://dplusplus.hatenablog.com/","published":"2007-10-28 00:00:00","categories":["golf","Python"],"author_name":"dplusplus","width":"100%","url":"https://dplusplus.hatenablog.com/entry/20071028/p1","description":"\u4f55\u3082\u8003\u3048\u305a\u5b9f\u88c5\u3002392byte\u3002 p1 = p2 = 0 while(1): s = raw_input() if s == '1': p1 += 1 elif s == '2': p2 += 1 if p1 > p2: if p1 == 7: print 'Player1 wins the set %d - %d' % (p1, p2) break print 'Player1 leads %d - %d' % (p1, p2) elif p1 < p2: if p2 == 7: print 'Player2 wins the set %d - %d' % (p2, p1) break pr\u2026","type":"rich","height":"190","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/dplusplus/","title":"6. tennis","provider_url":"https://hatena.blog","image_url":null}