{"version":"1.0","type":"rich","title":"Python/Ruby\u306ezip\u95a2\u6570","blog_url":"https://y0m0r.hateblo.jp/","url":"https://y0m0r.hateblo.jp/entry/20120626/1340721471","image_url":null,"author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","author_name":"yuheiomori0718","height":"190","published":"2012-06-26 23:37:51","provider_url":"https://hatena.blog","width":"100%","description":"\u5b58\u5728\u306f\u77e5\u3063\u3066\u3044\u305f\u3051\u3069\u3001\u3042\u307e\u308a\u4f7f\u3046\u3053\u3068\u304c\u306a\u304b\u3063\u305f\u3002 \u304c\u3001\u4eca\u65e5\u306f\u4f7f\u3044\u305f\u3044\u3068\u601d\u3046\u30b1\u30fc\u30b9\u306b\u906d\u9047\u3057\u305f\u306e\u3067\u3001\u4f7f\u3044\u65b9\u3092\u30e1\u30e2\u3057\u3066\u304a\u304f\u8907\u6570\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u306b\u4e26\u884c\u3057\u3066\u540c\u6642\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308bfor\u30eb\u30fc\u30d7\u3092\u66f8\u304f\u306e\u306b\u4fbf\u5229\u3002 python # coding=utf-8 seq1 = [1,2,3,4,5] seq2 = ['a','b','c','d','e'] for n, a in zip(seq1, seq2): print n, a # 1 a # 2 b # 3 c # 4 d # 5 e # \u30ea\u30b9\u30c8\u9577\u304c\u63c3\u3063\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u77ed\u3044\u65b9\u306e\u9577\u3055\u307e\u3067 seq1 = [1,2,3,4,5,6] seq2 = ['a','b','c'\u2026","categories":["python","ruby"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20120626%2F1340721471\" title=\"Python/Ruby\u306ezip\u95a2\u6570 - \u30e1\u30e2\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u30e1\u30e2\u7f6e\u304d\u5834","provider_name":"Hatena Blog"}