{"blog_title":"\u5730\u65b9\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u5b66\u7fd2\u65e5\u8a18","provider_url":"https://hatena.blog","title":" \u3061\u3087\u3063\u3068\u4fbf\u5229\u306a\u6570\u5b66\u95a2\u9023\u306e\u95a2\u6570","author_name":"ryuichi1208","url":"https://ryuichi1208.hateblo.jp/entry/2020/10/01/235406","published":"2020-10-01 23:54:06","author_url":"https://blog.hatena.ne.jp/ryuichi1208/","height":"190","image_url":null,"type":"rich","version":"1.0","blog_url":"https://ryuichi1208.hateblo.jp/","provider_name":"Hatena Blog","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryuichi1208.hateblo.jp%2Fentry%2F2020%2F10%2F01%2F235406\" title=\" \u3061\u3087\u3063\u3068\u4fbf\u5229\u306a\u6570\u5b66\u95a2\u9023\u306e\u95a2\u6570 - \u5730\u65b9\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u5b66\u7fd2\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":[],"description":"python\u30c7\u30fc\u30bf\u5206\u6790\u8a66\u9a13\u306e\u52c9\u5f37\u3092\u3057\u3064\u3064\u3053\u308cperl\u3067\u66f8\u304f\u3068\u3069\u3046\u306a\u3093\u3060\u308d\u3063\u3066\u3082\u306e\u304c\u4f55\u70b9\u304b\u3042\u3063\u305f\u306e\u3067\u30e1\u30e2\u7684\u306b\u8a18\u8f09 \u5e73\u5747 sub mean { local($s) = 0; local($n) = 0; foreach $_ (@_) { if ($_ =~ /[0-9]/) { $s += $_; $n++; } } if ($n == 0) { \"\"; } else { $s /= $n; } } \u5206\u6563\u3068\u6a19\u6e96\u504f\u5dee sub dist { local($i, $m, $n, $s); ($m, $n, $s) = (0,0,0); if (@_ < 2) { return 0; } $m = &m\u2026"}