{"width":"100%","author_name":"ray88","provider_name":"Hatena Blog","blog_title":"ray88\u2019s diary","provider_url":"https://hatena.blog","title":"Python \u30bb\u30c3\u30c8\u306e\u96c6\u5408\u6f14\u7b97\u3000\u7a4d\u96c6\u5408\uff08a\u30bb\u30c3\u30c8 \u3068 \uff42\u30bb\u30c3\u30c8 \u306e \u5171\u901a\u8981\u7d20\uff09","categories":[],"url":"https://ray88.hatenablog.com/entry/2023/12/07/215727","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fray88.hatenablog.com%2Fentry%2F2023%2F12%2F07%2F215727\" title=\"Python \u30bb\u30c3\u30c8\u306e\u96c6\u5408\u6f14\u7b97\u3000\u7a4d\u96c6\u5408\uff08a\u30bb\u30c3\u30c8 \u3068 \uff42\u30bb\u30c3\u30c8 \u306e \u5171\u901a\u8981\u7d20\uff09 - ray88\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","published":"2023-12-07 21:57:27","blog_url":"https://ray88.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/ray88/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/r/ray88/20231207/20231207215510.png","description":"python \u76ee\u6b21 - ray88\u2019s diary \u25a0a\u30bb\u30c3\u30c8\u3068\uff42\u30bb\u30c3\u30c8\u306e\u5171\u901a\u8981\u7d20\uff08\u7a4d\u96c6\u5408\uff09 \u30fb\u7a4d\u96c6\u5408\u306e\u6f14\u7b97\u306b\u306f & \u6f14\u7b97\u5b50 \u307e\u305f\u306f Intersection( ) \u3092\u4f7f\u7528\u3059\u308b \u30fba,b\u306e\u30bb\u30c3\u30c8\u306e\u7a4d\u96c6\u5408\u3092\u6c42\u3081\u308b\u3068\uff12\u3064\u306e\u30bb\u30c3\u30c8\u3067\u5171\u901a\u3057\u3066\u3044\u308b\u8981\u7d20\u306e\u30bb\u30c3\u30c8\u304c\u4f5c\u3089\u308c\u308b\u3002 \u25a0\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9 \u3010\u7a4d\u96c6\u5408\uff1aa,b\u30bb\u30c3\u30c8\u306e\u5171\u901a\u3057\u305f\u8981\u7d20\u306e\u30bb\u30c3\u30c8\uff43\u3092\u3064\u304f\u308b\u3011 a = {\"\u30ea\u30f3\u30b4\",\"\u307f\u304b\u3093\",\"\u6843\",\"\u3044\u3061\u3054\"} b = {\"\u3044\u3061\u3054\",\"\u30b9\u30a4\u30ab\",\"\u307f\u304b\u3093\",\"\u30d0\u30ca\u30ca\"} c = a & b #\u7a4d\u96c6\u5408\u3092\u6c42\u3081\u308b print(\"c\uff1a\",c) \u3010\u30bb\u30c3\u30c8a,b,c \u306e\u7a4d\u96c6\u5408\u3092 & \u6f14\u7b97\u5b50\u3092\u4f7f\u3063\u3066\u6c42\u3081\u308b\u3011 a = {\"\u30ea\u30f3\u30b4\u2026","version":"1.0"}