{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcoffee-guhaw.hateblo.jp%2Fentry%2F2024%2F10%2F15%2F000000\" title=\"\u3010python3\u3011\u30ea\u30b9\u30c8\u306e\u4e2d\u306b\u30ea\u30b9\u30c8\u304c\u5165\u3063\u3066\u3044\u308b\u3068\u304d(\u591a\u6b21\u5143\u30ea\u30b9\u30c8)\u306b\u5168\u90e8\u5c55\u958b\u3059\u308b - Bus error\u3068Segmentation fault\u306b\u56f0\u3063\u305f\u3089\u898b\u308b\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2024-10-15 00:00:00","version":"1.0","url":"https://coffee-guhaw.hateblo.jp/entry/2024/10/15/000000","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","blog_title":"Bus error\u3068Segmentation fault\u306b\u56f0\u3063\u305f\u3089\u898b\u308b\u30d6\u30ed\u30b0","author_url":"https://blog.hatena.ne.jp/coffee_kabu/","width":"100%","height":"190","image_url":null,"categories":["python"],"blog_url":"https://coffee-guhaw.hateblo.jp/","author_name":"coffee_kabu","title":"\u3010python3\u3011\u30ea\u30b9\u30c8\u306e\u4e2d\u306b\u30ea\u30b9\u30c8\u304c\u5165\u3063\u3066\u3044\u308b\u3068\u304d(\u591a\u6b21\u5143\u30ea\u30b9\u30c8)\u306b\u5168\u90e8\u5c55\u958b\u3059\u308b","type":"rich","description":"\u25a0 \u53c2\u8003 : Python\u3067flatten\uff08\u591a\u6b21\u5143\u30ea\u30b9\u30c8\u3092\u4e00\u6b21\u5143\u306b\u5e73\u5766\u5316\uff09 sum\u3067\u3082\u3067\u304d\u308b\u3089\u3057\u3044 import\u3057\u306a\u304f\u3066\u3082\u4f7f\u3048\u308b\u306e\u304c\u4fbf\u5229 l_2d = [[0, 1], [2, 3]] print(sum(l_2d, [])) # [0, 1, 2, 3]"}