{"image_url":null,"width":"100%","url":"https://morchin.hatenadiary.org/entry/20060609/p1","height":"190","author_url":"https://blog.hatena.ne.jp/morchin/","description":"Python\u3067\u3001\u81ea\u5206\u3067\u4f5c\u6210\u3057\u305f\u30af\u30e9\u30b9\u3092\u3001\u4f8b\u3048\u3070\u30d3\u30eb\u30c8\u30a4\u30f3\u95a2\u6570\u306b\u4e0e\u3048\u3066\u3001\u6761\u4ef6\u3092\u6e80\u305f\u3059\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u898b\u3064\u3051\u305f\u3044\u5834\u5408\u3001\u65b0\u305f\u306b\u4f5c\u6210\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002 \u4f8b\u3048\u3070\u3001 class A: def __init__(self, id, val): self.id = id self.val = val\u3068\u3044\u3046\u30af\u30e9\u30b9\u304c\u3042\u308a\u3001A\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u306e\u4e2d\u304b\u3089\u6700\u5c0f\u306eval\u306e\u5024\u3092\u6301\u3064\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306eid\u304c\u6b32\u3057\u3044\u3068\u3059\u308b\u3002 as = [A(1, 1), A(2, 2), A(3, 0), A(4, 4)] # \u3053\u3053\u3067\u3001as\u3092\u76f4\u63a5min()\u306b\u5165\u308c\u3089\u308c\u306a\u3044! id_of_min_val = min(as).id # id_of_min_val\u2026","author_name":"morchin","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmorchin.hatenadiary.org%2Fentry%2F20060609%2Fp1\" title=\" \u30e6\u30fc\u30b6\u5b9a\u7fa9\u30af\u30e9\u30b9\u306e\u65e2\u5b58\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3078\u306e\u9069\u7528 - \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\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>","provider_url":"https://hatena.blog","title":" \u30e6\u30fc\u30b6\u5b9a\u7fa9\u30af\u30e9\u30b9\u306e\u65e2\u5b58\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3078\u306e\u9069\u7528","blog_url":"https://morchin.hatenadiary.org/","version":"1.0","provider_name":"Hatena Blog","type":"rich","categories":["Python"],"published":"2006-06-09 00:00:00","blog_title":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u65e5\u8a18"}