{"author_name":"shigemk2","type":"rich","title":"\u30a8\u30ad\u30b9\u30d1\u30fc\u30c8Python\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 emnumerate + \u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18","description":"08-235450.py def _treatment(pos, element): return '%d: %s' % (pos, element) seq = [\"one\", \"two\", \"three\"] print [_treatment(i, el) for i, el in enumerate(seq)] #['0: one', '1: two', '2: three']","width":"100%","height":"190","blog_title":"by shigemk2","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20130708%2F1373295473\" title=\"\u30a8\u30ad\u30b9\u30d1\u30fc\u30c8Python\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 emnumerate + \u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18 - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"version":"1.0","url":"https://www.shigemk2.com/entry/20130708/1373295473","categories":["Python"],"published":"2013-07-08 23:57:53","author_url":"https://blog.hatena.ne.jp/shigemk2/","blog_url":"https://www.shigemk2.com/","provider_url":"https://hatena.blog"}