{"id":108925,"date":"2024-03-22T14:50:28","date_gmt":"2024-03-22T05:50:28","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/list%e3%81%8b%e3%82%89%e9%87%8d%e8%a4%87%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%89%8a%e9%99%a4%e3%81%99%e3%82%8bpython%e3%81%ae%e6%96%b9%e6%b3%95\/"},"modified":"2024-03-28T13:01:45","modified_gmt":"2024-03-28T04:01:45","slug":"list%e3%81%8b%e3%82%89%e9%87%8d%e8%a4%87%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%89%8a%e9%99%a4%e3%81%99%e3%82%8bpython%e3%81%ae%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/list%e3%81%8b%e3%82%89%e9%87%8d%e8%a4%87%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%89%8a%e9%99%a4%e3%81%99%e3%82%8bpython%e3%81%ae%e6%96%b9%e6%b3%95\/","title":{"rendered":"list\u304b\u3089\u91cd\u8907\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3059\u308bPython\u306e\u65b9\u6cd5"},"content":{"rendered":"<p>\u91cd\u8907\u3057\u305f\u30c7\u30fc\u30bf\u3092\u30ea\u30b9\u30c8\u304b\u3089\u53d6\u308a\u9664\u304f\u306b\u306fset()\u95a2\u6570\u304c\u4f7f\u3048\u307e\u3059\u3002\u3084\u308a\u65b9\u3068\u3057\u3066\u306f\u3001\u307e\u305a\u30ea\u30b9\u30c8\u3092set\u306b\u5909\u63db\u3057\u3066\u304b\u3089\u3001\u305d\u306eset\u3092\u30ea\u30b9\u30c8\u306b\u623b\u3057\u307e\u3059\u3002\u53c2\u8003\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>list_with_duplicates = [<span class=\"hljs-number\">1<\/span>, <span class=\"hljs-number\">2<\/span>, <span class=\"hljs-number\">3<\/span>, <span class=\"hljs-number\">4<\/span>, <span class=\"hljs-number\">2<\/span>, <span class=\"hljs-number\">3<\/span>, <span class=\"hljs-number\">5<\/span>, <span class=\"hljs-number\">1<\/span>]\r\nlist_without_duplicates = <span class=\"hljs-built_in\">list<\/span>(<span class=\"hljs-built_in\">set<\/span>(list_with_duplicates))\r\n<span class=\"hljs-built_in\">print<\/span>(list_without_duplicates)\r\n<\/code><\/pre>\n<p>\u51fa\u529b\u7d50\u679c\u306f [1, 2, 3, 4, 5] \u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u91cd\u8907\u3057\u305f\u30c7\u30fc\u30bf\u3092\u30ea\u30b9\u30c8\u304b\u3089\u53d6\u308a\u9664\u304f\u306b\u306fset()\u95a2\u6570\u304c\u4f7f\u3048\u307e\u3059\u3002\u3084\u308a\u65b9\u3068\u3057\u3066\u306f\u3001\u307e\u305a\u30ea\u30b9\u30c8\u3092set\u306b\u5909\u63db\u3057\u3066\u304b\u3089\u3001\u305d\u306eset\u3092\u30ea\u30b9\u30c8\u306b\u623b\u3057\u307e\u3059\u3002\u53c2\u8003\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002 list_with_duplicates = [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-108925","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>list\u304b\u3089\u91cd\u8907\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3059\u308bPython\u306e\u65b9\u6cd5 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/list\u304b\u3089\u91cd\u8907\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3059\u308bpython\u306e\u65b9\u6cd5\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"list\u304b\u3089\u91cd\u8907\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3059\u308bPython\u306e\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"\u91cd\u8907\u3057\u305f\u30c7\u30fc\u30bf\u3092\u30ea\u30b9\u30c8\u304b\u3089\u53d6\u308a\u9664\u304f\u306b\u306fset()\u95a2\u6570\u304c\u4f7f\u3048\u307e\u3059\u3002\u3084\u308a\u65b9\u3068\u3057\u3066\u306f\u3001\u307e\u305a\u30ea\u30b9\u30c8\u3092set\u306b\u5909\u63db\u3057\u3066\u304b\u3089\u3001\u305d\u306eset\u3092\u30ea\u30b9\u30c8\u306b\u623b\u3057\u307e\u3059\u3002\u53c2\u8003\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002 list_with_duplicates = [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/list\u304b\u3089\u91cd\u8907\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3059\u308bpython\u306e\u65b9\u6cd5\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-22T05:50:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-28T04:01:45+00:00\" \/>\n<meta name=\"author\" content=\"\u5149, \u660e\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u5149, \u660e\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/list%e3%81%8b%e3%82%89%e9%87%8d%e8%a4%87%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%89%8a%e9%99%a4%e3%81%99%e3%82%8bpython%e3%81%ae%e6%96%b9%e6%b3%95\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/list%e3%81%8b%e3%82%89%e9%87%8d%e8%a4%87%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%89%8a%e9%99%a4%e3%81%99%e3%82%8bpython%e3%81%ae%e6%96%b9%e6%b3%95\/\",\"name\":\"list\u304b\u3089\u91cd\u8907\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3059\u308bPython\u306e\u65b9\u6cd5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-22T05:50:28+00:00\",\"dateModified\":\"2024-03-28T04:01:45+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/list%e3%81%8b%e3%82%89%e9%87%8d%e8%a4%87%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%89%8a%e9%99%a4%e3%81%99%e3%82%8bpython%e3%81%ae%e6%96%b9%e6%b3%95\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/list%e3%81%8b%e3%82%89%e9%87%8d%e8%a4%87%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%89%8a%e9%99%a4%e3%81%99%e3%82%8bpython%e3%81%ae%e6%96%b9%e6%b3%95\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/list%e3%81%8b%e3%82%89%e9%87%8d%e8%a4%87%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%89%8a%e9%99%a4%e3%81%99%e3%82%8bpython%e3%81%ae%e6%96%b9%e6%b3%95\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"list\u304b\u3089\u91cd\u8907\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3059\u308bPython\u306e\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55\",\"name\":\"\u5149, \u660e\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"caption\":\"\u5149, \u660e\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/list%e3%81%8b%e3%82%89%e9%87%8d%e8%a4%87%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%89%8a%e9%99%a4%e3%81%99%e3%82%8bpython%e3%81%ae%e6%96%b9%e6%b3%95\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"list\u304b\u3089\u91cd\u8907\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3059\u308bPython\u306e\u65b9\u6cd5 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/list\u304b\u3089\u91cd\u8907\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3059\u308bpython\u306e\u65b9\u6cd5\/","og_locale":"ja_JP","og_type":"article","og_title":"list\u304b\u3089\u91cd\u8907\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3059\u308bPython\u306e\u65b9\u6cd5","og_description":"\u91cd\u8907\u3057\u305f\u30c7\u30fc\u30bf\u3092\u30ea\u30b9\u30c8\u304b\u3089\u53d6\u308a\u9664\u304f\u306b\u306fset()\u95a2\u6570\u304c\u4f7f\u3048\u307e\u3059\u3002\u3084\u308a\u65b9\u3068\u3057\u3066\u306f\u3001\u307e\u305a\u30ea\u30b9\u30c8\u3092set\u306b\u5909\u63db\u3057\u3066\u304b\u3089\u3001\u305d\u306eset\u3092\u30ea\u30b9\u30c8\u306b\u623b\u3057\u307e\u3059\u3002\u53c2\u8003\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002 list_with_duplicates = [&hellip;]","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/list\u304b\u3089\u91cd\u8907\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3059\u308bpython\u306e\u65b9\u6cd5\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-22T05:50:28+00:00","article_modified_time":"2024-03-28T04:01:45+00:00","author":"\u5149, \u660e","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u5149, \u660e"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/list%e3%81%8b%e3%82%89%e9%87%8d%e8%a4%87%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%89%8a%e9%99%a4%e3%81%99%e3%82%8bpython%e3%81%ae%e6%96%b9%e6%b3%95\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/list%e3%81%8b%e3%82%89%e9%87%8d%e8%a4%87%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%89%8a%e9%99%a4%e3%81%99%e3%82%8bpython%e3%81%ae%e6%96%b9%e6%b3%95\/","name":"list\u304b\u3089\u91cd\u8907\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3059\u308bPython\u306e\u65b9\u6cd5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-22T05:50:28+00:00","dateModified":"2024-03-28T04:01:45+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/list%e3%81%8b%e3%82%89%e9%87%8d%e8%a4%87%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%89%8a%e9%99%a4%e3%81%99%e3%82%8bpython%e3%81%ae%e6%96%b9%e6%b3%95\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/list%e3%81%8b%e3%82%89%e9%87%8d%e8%a4%87%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%89%8a%e9%99%a4%e3%81%99%e3%82%8bpython%e3%81%ae%e6%96%b9%e6%b3%95\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/list%e3%81%8b%e3%82%89%e9%87%8d%e8%a4%87%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%89%8a%e9%99%a4%e3%81%99%e3%82%8bpython%e3%81%ae%e6%96%b9%e6%b3%95\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"list\u304b\u3089\u91cd\u8907\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3059\u308bPython\u306e\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55","name":"\u5149, \u660e","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","caption":"\u5149, \u660e"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/list%e3%81%8b%e3%82%89%e9%87%8d%e8%a4%87%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%89%8a%e9%99%a4%e3%81%99%e3%82%8bpython%e3%81%ae%e6%96%b9%e6%b3%95\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/108925","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=108925"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/108925\/revisions"}],"predecessor-version":[{"id":205673,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/108925\/revisions\/205673"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=108925"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=108925"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=108925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}