{"title":"\u30ea\u30b9\u30c8\u3067\u6570\u304c\u9023\u7d9a\u3057\u3066\u301c\u306e\u30b3\u30fc\u30c9\u304c\u9577\u3044\u306e\u3067\u77ed\u304f\u3057\u3066\u307f\u305f","version":"1.0","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcortyuming.hateblo.jp%2Fentry%2F20080929%2Fp4\" title=\"\u30ea\u30b9\u30c8\u3067\u6570\u304c\u9023\u7d9a\u3057\u3066\u301c\u306e\u30b3\u30fc\u30c9\u304c\u9577\u3044\u306e\u3067\u77ed\u304f\u3057\u3066\u307f\u305f - \u724c\u8a9e\u5099\u5fd8\u9332 -pygo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"higepon\u3055\u3093\u306e\u3068\u3053\u3067\u53d6\u308a\u4e0a\u3052\u3066\u3082\u3089\u3063\u305f\u30b3\u30fc\u30c9\u304c\u81ea\u5206\u306e\u3060\u3051\u8d85\u9577\u3044\u306e\u3067\u77ed\u304f\u3057\u3066\u307f\u305f(\u00b4\uff65\u03c9\uff65`) \u305d\u306e\uff11 map\u4f7f\u3048\u3070\u77ed\u304f\u306a\u308b\u304b\u3082\u307f\u305f\u3044\u306a\uff1f def compact_number_list(lst): seq = [] map(lambda x:seq[-1].append(x[1]) if 0 <= x[0] and x[1] == lst[x[0] - 1] + 1 else seq.append([x[1]]), enumerate(lst)) return map(lambda x:[x[0], x[-1]] if len(x) > 1 else x[0], seq) lst=[1,\u2026","blog_title":"\u724c\u8a9e\u5099\u5fd8\u9332 -pygo","url":"https://cortyuming.hateblo.jp/entry/20080929/p4","width":"100%","categories":["Python"],"blog_url":"https://cortyuming.hateblo.jp/","height":"190","author_url":"https://blog.hatena.ne.jp/CortYuming/","type":"rich","provider_name":"Hatena Blog","published":"2008-09-29 00:00:00","provider_url":"https://hatena.blog","author_name":"CortYuming"}