{"comment":{"url":"https://api.github.com/repos/mhanami/matching/comments/11780775","html_url":"https://github.com/mhanami/matching/commit/e1317bd8932f87544d7a5b362dad35fd56336668#commitcomment-11780775","id":11780775,"user":{"login":"haru110jp","id":7427308,"avatar_url":"https://avatars.githubusercontent.com/u/7427308?v=3","gravatar_id":"","url":"https://api.github.com/users/haru110jp","html_url":"https://github.com/haru110jp","followers_url":"https://api.github.com/users/haru110jp/followers","following_url":"https://api.github.com/users/haru110jp/following{/other_user}","gists_url":"https://api.github.com/users/haru110jp/gists{/gist_id}","starred_url":"https://api.github.com/users/haru110jp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haru110jp/subscriptions","organizations_url":"https://api.github.com/users/haru110jp/orgs","repos_url":"https://api.github.com/users/haru110jp/repos","events_url":"https://api.github.com/users/haru110jp/events{/privacy}","received_events_url":"https://api.github.com/users/haru110jp/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"e1317bd8932f87544d7a5b362dad35fd56336668","created_at":"2015-06-20T16:06:20Z","updated_at":"2015-06-20T16:06:20Z","body":"proposed=m_prefs[i - 1, 0]とするといいと思います。先生の仰る通り、pythonは0スタートなので、男性１の好みがm_prefの0番目に、2のは1番目に入ってます。iは男性の名前なので、-1をして調整すると良いです。\r\n\r\nただ、このままだと一度プロポーズした人が好みランキングから消えません。\r\n辞書malesはmales[i]でiさんの好みをかえしてくれると思うので、いっそm_prefを使うのをやめてmales[i].pop[0]にしてみるとどうでしょう（これだとだめだったら教えてください）"}}