{"id":447,"date":"2018-08-06T17:41:40","date_gmt":"2018-08-06T08:41:40","guid":{"rendered":"https:\/\/python-introduction.com\/?p=447"},"modified":"2018-08-06T17:41:40","modified_gmt":"2018-08-06T08:41:40","slug":"%e3%80%90python%e5%85%a5%e9%96%80%e3%80%91%e5%a4%89%e6%95%b0%e3%81%ae%e5%9e%8b%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e3%82%8f%e3%81%8b%e3%82%8a%e3%82%84%e3%81%99%e3%81%8f%e8%a7%a3%e8%aa%ac","status":"publish","type":"post","link":"https:\/\/python-introduction.com\/?p=447","title":{"rendered":"\u3010Python\u5165\u9580\u3011\u5909\u6570\u306e\u578b\u306b\u3064\u3044\u3066\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac"},"content":{"rendered":"<p>\u3053\u3053\u307e\u3067\u306e\u8a18\u4e8b\u3067Python\u5165\u9580\u7de8\u3068\u3057\u3066<br \/>\n\u5909\u6570\u306b\u3064\u3044\u3066\u305f\u304f\u3055\u3093\u89e3\u8aac\u3057\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u3060\u898b\u3066\u306a\u3044\u65b9\u306f\u5148\u306b\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<br \/>\n\u21d2<a href=\"https:\/\/python-introduction.com\/?p=145\" target=\"blank\">Python\u306e\u5909\u6570\u5ba3\u8a00\u3067\u6ce8\u610f\u3059\u3079\u304d\u3053\u3068<\/a><br \/>\n\u21d2<a href=\"https:\/\/python-introduction.com\/?p=416\" target=\"blank\">\u3010Python\u5165\u9580\u3011\u5909\u6570\u306e\u4ee3\u5165\u306b\u3064\u3044\u3066\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac<\/a><\/p>\n<p>\u3068\u3053\u308d\u3067\u5909\u6570\u306b\u306f\u578b\u3068\u3044\u3046\u6982\u5ff5\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3067\u3001\u3042\u306a\u305f\u304c\u4f7f\u3046\u5909\u6570\u306b\u3088\u3063\u3066\u578b\u306e\u53d6\u308a\u6271\u3044\u65b9\u304c<br \/>\n\u9055\u3063\u3066\u304f\u308b\u3093\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u5909\u6570\u306e\u578b\u306b\u3064\u3044\u3066\u77e5\u3063\u3066\u304a\u304b\u306a\u3044\u3068<br \/>\n\u601d\u308f\u306c\u3068\u3053\u308d\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3057\u307e\u3046\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u3053\u3053\u3067\u306f\u5909\u6570\u306e\u578b\u306b\u3064\u3044\u3066\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">\u76ee\u6b21<\/p><ul class=\"toc_list\"><li><a href=\"#Python\"><span class=\"toc_number toc_depth_1\">1<\/span> Python\u5165\u9580\u7de8\uff5c\u5909\u6570\u306e\u578b\u3068\u306f\uff1f<\/a><\/li><li><a href=\"#Python-2\"><span class=\"toc_number toc_depth_1\">2<\/span> Python\u306b\u304a\u3051\u308b\u5909\u6570\u306e\u578b\u306b\u306f\u3069\u3093\u306a\u7a2e\u985e\u304c\u3042\u308b\uff1f<\/a><\/li><li><a href=\"#Python1int\"><span class=\"toc_number toc_depth_1\">3<\/span> Python\u3067\u4f7f\u3046\u5909\u6570\u306e\u578b1\uff0eint\u578b<\/a><\/li><li><a href=\"#Python2float\"><span class=\"toc_number toc_depth_1\">4<\/span> Python\u3067\u4f7f\u3046\u5909\u6570\u306e\u578b2\uff0efloat\u578b<\/a><\/li><li><a href=\"#Python3str\"><span class=\"toc_number toc_depth_1\">5<\/span> Python\u3067\u4f7f\u3046\u5909\u6570\u306e\u578b3\uff0estr\u578b<\/a><\/li><li><a href=\"#Python4bool\"><span class=\"toc_number toc_depth_1\">6<\/span> Python\u3067\u4f7f\u3046\u5909\u6570\u306e\u578b4\uff0ebool\u578b<\/a><\/li><li><a href=\"#Python5list\"><span class=\"toc_number toc_depth_1\">7<\/span> Python\u3067\u4f7f\u3046\u5909\u6570\u306e\u578b5\uff0elist\u578b<\/a><\/li><li><a href=\"#Python6tuple\"><span class=\"toc_number toc_depth_1\">8<\/span> Python\u3067\u4f7f\u3046\u5909\u6570\u306e\u578b6\uff0etuple\u578b<\/a><\/li><li><a href=\"#Python7dict\"><span class=\"toc_number toc_depth_1\">9<\/span> Python\u3067\u4f7f\u3046\u5909\u6570\u306e\u578b7\uff0edict\u578b<\/a><\/li><\/ul><\/div>\n<h2><span id=\"Python\">Python\u5165\u9580\u7de8\uff5c\u5909\u6570\u306e\u578b\u3068\u306f\uff1f<\/span><\/h2>\n<p>\u578b\u3068\u306f\u3042\u306a\u305f\u304c\u4f5c\u3063\u305f\u5909\u6570\u306b\u5165\u3063\u3066\u3044\u308b\u30c7\u30fc\u30bf\u306e\u7a2e\u985e\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u8a00\u8449\u3067\u5909\u6570\u306e\u578b\u306b\u3064\u3044\u3066\u8aac\u660e\u3059\u308b\u3060\u3051\u3067\u306f<br \/>\n\u30d4\u30f3\u3068\u3053\u306a\u3044\u65b9\u3082\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u4f8b\u984c\u3092\u3060\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c1\r\nhensuu = 25\r\nmoji = '\u5909\u6570\u306e\u578b'\r\n\r\nprint(hensuu)\r\nprint(moji)<\/pre>\n<p>\u4e0a\u8a18\u3092\u5b9f\u884c\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-452\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/hensuukata806.jpg\" alt=\"\u5909\u6570\u306e\u578b\" width=\"258\" height=\"174\" \/><\/p>\n<p>\u3061\u306a\u307f\u306b\u4f8b\u984c1\u3067\u4f7f\u3063\u305f\u5909\u6570\u306f<br \/>\n\u300ehensuu\u300f\u3068\u300emoji\u300f\u3067\u3059\u3002<\/p>\n<p>\u5909\u6570\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u65b9\u306f<br \/>\n\u30b3\u30c1\u30e9\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<br \/>\n\u21d2<a href=\"https:\/\/python-introduction.com\/?p=416\" target=\"blank\">\u3010Python\u5165\u9580\u3011\u5909\u6570\u306e\u4ee3\u5165\u306b\u3064\u3044\u3066\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac<\/a><\/p>\n<p>\u305d\u308c\u304b\u3089# \u4f8b\u984c1\u306f\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3067\u3059\u3002<br \/>\n\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u306b\u3064\u3044\u3066\u77e5\u308a\u305f\u3044\u65b9\u306f\u3053\u3061\u3089\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<br \/>\n\u21d2<a href=\"https:\/\/python-introduction.com\/?p=398\" target=\"blank\">Python\u3067\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3059\u308b\u65b9\u6cd5<\/a><\/p>\n<p>\u8a71\u3092\u5143\u306b\u623b\u3057\u307e\u3059\u3002<\/p>\n<p>hensuu\u3068\u3044\u3046\u5909\u6570\u306b25\u3068\u3044\u3046\u6570\u5b57\u3092\u4ee3\u5165\u3057\u307e\u3057\u305f\u3002<br \/>\nmoji\u3068\u3044\u3046\u5909\u6570\u306b\u300e\u6587\u5b57\u306e\u578b\u300f\u3068\u3044\u3046\u6587\u5b57\u5217\u3092\u4ee3\u5165\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3067\u300125\u3068\u3044\u3046\u6570\u5b57\u3084\u6587\u5b57\u306e\u578b\u3068\u3044\u3046\u6587\u5b57\u5217\u3092\u300e\u578b\u300f\u3068\u8a00\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3053\u306e\u6570\u5b57\u3084\u6587\u5b57\u5217\u306f\u305d\u308c\u305e\u308c\u5909\u6570\u3092\u6271\u3046\u3068\u304d\u306b\u306f<br \/>\n\u5225\u7269\u3068\u3057\u3066\u51e6\u7406\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3093\u3067\u3059\u3002<\/p>\n<p>\u3067\u306a\u3044\u3068\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3046\u3044\u3063\u305f\u610f\u5473\u3067\u3082\u5909\u6570\u306e\u578b\u306b\u306f<br \/>\n\u3069\u3093\u306a\u7a2e\u985e\u304c\u3042\u308b\u304b\u3001\u77e5\u3063\u3066\u304a\u3044\u305f\u65b9\u304c\u3088\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u4ee5\u4e0b\u3001\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h2><span id=\"Python-2\">Python\u306b\u304a\u3051\u308b\u5909\u6570\u306e\u578b\u306b\u306f\u3069\u3093\u306a\u7a2e\u985e\u304c\u3042\u308b\uff1f<\/span><\/h2>\n<div class=\"boxstyle01\">\n<p class=\"check08\"><span style=\"color: #ff0000;\">Python\u306b\u5b58\u5728\u3059\u308b\u5909\u6570\u306e\u578b\u306b\u306f<\/span><\/p>\n<p>1\uff0eint\u578b<br \/>\n2\uff0efloat\u578b<br \/>\n3\uff0estr\u578b<br \/>\n4\uff0ebool\u578b<br \/>\n5\uff0elist\u578b<br \/>\n6\uff0etuple\u578b<br \/>\n7\uff0edict\u578b<\/p>\n<\/div>\n<p>\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u8a18\u304c\u5909\u6570\u306e\u578b\u306e\u4ee3\u8868\u4f8b\u3063\u3066\u3053\u3068\u3067\u3059\u3002<\/p>\n<h2><span id=\"Python1int\">Python\u3067\u4f7f\u3046\u5909\u6570\u306e\u578b1\uff0eint\u578b<\/span><\/h2>\n<p>int\u578b\uff08\u30a4\u30f3\u30c8\u30ac\u30bf\uff09\u306f\u6574\u6570\u3092\u6271\u3044\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u3001<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c2\r\nx = 452\r\nprint(x)<\/pre>\n<p>\u3067\u3001\u300e452\u300f\u3068\u3044\u3046\u6574\u6570\u3092x\u306b\u4ee3\u5165\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u5b9f\u884c\u3059\u308b\u3068<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-455\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/intgata806.jpg\" alt=\"int\u578b\" width=\"242\" height=\"122\" \/><\/p>\n<p>\u3068\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u300c\u3046\u30fc\u3093\u3001\u308f\u304b\u3089\u306a\u3044\u300d\u3068\u601d\u3063\u305f\u65b9\u3082\u3044\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001int\u578b\u304b\u3069\u3046\u304b\u78ba\u304b\u3081\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\ntype\u3068\u3044\u3046\u3082\u306e\u3092\u4f7f\u3046\u3053\u3068\u3067<br \/>\n\u5909\u6570\u306e\u578b\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u984c3\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c3\r\nx = 452\r\nprint(type(x))<\/pre>\n<p>\u5b9f\u884c\u3059\u308b\u3068\u3001<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-456\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/intgataa806.jpg\" alt=\"type\u95a2\u6570\" width=\"221\" height=\"103\" \/><\/p>\n<p>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u8a18\u306f\u4f55\u3092\u8a00\u3063\u3066\u3044\u308b\u304b\uff1f\u3068\u3044\u3046\u3068<br \/>\n\u300cx\u306fint\u578b\u3068\u3057\u3066python\u306b\u8a8d\u8b58\u3055\u308c\u3066\u3044\u308b\u3088\u300d<br \/>\n\u3063\u3066\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u6574\u6570\u3068\u306f<br \/>\n\u300e0\u3092\u542b\u3093\u3067\u305d\u306e0\u306b\u5bfe\u3057\u30661\u3092\u8db3\u3057\u305f\u308a\u5f15\u3044\u305f\u308a\u3057\u3066\u3067\u304d\u308b\u6570\u300f\u306e\u3053\u3068\u3067\u3059\u3002<br \/>\n\u306a\u306e\u3067\u5206\u6570\u3068\u304b\u5c0f\u6570\u306f\u6574\u6570\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u9006\u306b\u30de\u30a4\u30ca\u30b9\u306e\u6570\u3067\u3042\u3063\u3066\u3082\u6574\u6570\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u6574\u6570\u306e\u5177\u4f53\u4f8b\u3068\u3057\u3066\u306f<br \/>\n\u2015289977,0\uff0c68688,9,-7<\/p>\n<p>\u306a\u3069\u3067\u3059\u3002<\/p>\n<p>\u9006\u306b1.8\u3068\u304b-50.3\u306a\u3069\u306f\u6574\u6570\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h2><span id=\"Python2float\">Python\u3067\u4f7f\u3046\u5909\u6570\u306e\u578b2\uff0efloat\u578b<\/span><\/h2>\n<p>float\u578b\u3082\u6570\u5b57\u3092\u6271\u3046\u70b9\u3067\u306fint\u578b\u3068\u540c\u3058\u3067\u3059\u3002<br \/>\n\u3067\u3059\u304c\u3001float\u578b\u306e\u5834\u5408\u306b\u306f\u5c0f\u6570\u3092\u6271\u3046\u70b9\u3067int\u578b\u3068\u9055\u3044\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u3001<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c4\r\nx = 21.898\r\nprint(type(x))<\/pre>\n<p>\u4e0a\u8a18\u3092\u5b9f\u884c\u3059\u308b\u3068<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/renshuuu806.jpg\" alt=\"float\u578b\" width=\"227\" height=\"99\" class=\"alignnone size-full wp-image-458\" \/><\/p>\n<p>float\u578b\u3068\u3044\u3046\u7d50\u679c\u304c\u8fd4\u3063\u3066\u304d\u307e\u3057\u305f\u306d\u3002<br \/>\n\u5c0f\u6570\u306ffloat\u578b\u3067\u3059\u3002<\/p>\n<p>\u4ed6\u306b\u3082<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c5\r\nx = -21.5\r\ny = 10.0\r\nprint(type(x))\r\nprint(type(y))<\/pre>\n<p>\u4e0a\u8a18\u3092\u5b9f\u884c\u3059\u308b\u3068<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/floatsan806.jpg\" alt=\"float\u578b\" width=\"260\" height=\"152\" class=\"alignnone size-full wp-image-459\" \/><\/p>\n<p>\u3068\u306a\u308a\u307e\u3059\u306d\u3002<\/p>\n<p>\u5c0f\u6570\u3067\u3042\u308c\u3070\u30de\u30a4\u30ca\u30b9\u3067\u3042\u3063\u3066\u3082<br \/>\n\u307e\u305f\u3001\u672c\u6765\u306a\u3089\u6574\u6570\u3068\u601d\u3048\u308b\u3088\u3046\u306a\u3082\u306e\u3067\u3082<br \/>\nfloat\u578b\u306b\u5165\u308a\u307e\u3059\u3002<\/p>\n<p>10.0\u3068\u304b-20.0\u3092\u5909\u6570\u306b\u4ee3\u5165\u3059\u308b\u306a\u3089<br \/>\nfloat\u578b\u3060\u3068\u77e5\u3063\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n<h2><span id=\"Python3str\">Python\u3067\u4f7f\u3046\u5909\u6570\u306e\u578b3\uff0estr\u578b<\/span><\/h2>\n<p>\u6587\u5b57\u5217\u3092\u4ee3\u5165\u3059\u308b\u5834\u5408\u3001str\u578b\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\nstr\u578b\u306f\u300e\u30b9\u30c8\u30ea\u30f3\u30b0\u578b\u300f\u3068\u8aad\u307f\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u3001<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c6\r\nx = '\u65e5\u672c\u8a9e\u3068\u304b'\r\ny = 'eigotoka'\r\nprint(type(x))\r\nprint(type(y))<\/pre>\n<p>\u4e0a\u8a18\u306e\u3088\u3046\u306b\u6f22\u5b57\u3084\u5e73\u4eee\u540d\u306a\u3069\u306e\u65e5\u672c\u8a9e\u3001<br \/>\n\u4ed6\u306b\u3082\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u306a\u3069\u3082\u6587\u5b57\u5217\u306b\u8a72\u5f53\u3057\u307e\u3059\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001\u7d50\u679c\u306fstr\u578b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u984c6\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/strgatanorei806.jpg\" alt=\"str\u578b\u306e\u4f8b\" width=\"247\" height=\"147\" class=\"alignnone size-full wp-image-460\" \/><\/p>\n<p>\u3057\u3063\u304b\u308a\u3068str\u578b\u3060\u3068\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u306d\u3002<\/p>\n<p>\u4ed6\u306b\u3082&#8221;&#8221;\uff08\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\uff09\u3001&#8221;\uff08\u30b7\u30f3\u30b0\u30eb\u30af\u30aa\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\uff09\u3067\u6587\u5b57\u3092\u56f2\u3081\u3070<br \/>\n\u6570\u5b57\u3067\u3042\u3063\u3066\u3082\u8a18\u53f7\u3067\u3042\u3063\u3066\u3082str\u578b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u3001<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c7\r\nx = '3.14'\r\ny = '\u2606'\r\nprint(type(x))\r\nprint(type(y))<\/pre>\n<p>\u4e0a\u8a18\u306f\u6570\u5b57\u3068\u8a18\u53f7\u3067\u3059\u304c\u3001<br \/>\n\u5b9f\u884c\u3057\u3066\u307f\u307e\u3059\u3068<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/reidaaii806.jpg\" alt=\"str\u578b\" width=\"215\" height=\"151\" class=\"alignnone size-full wp-image-461\" \/><\/p>\n<p>\u3068str\u578b\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u306d\u3002<\/p>\n<p>\u6587\u5b57\u5217\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u305c\u3072\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<br \/>\n<div class=\"linkcard\"><table border=\"1\" cellspacing=\"0\" cellpadding=\"4\"><tbody><\/tr><tr><td>\u3053\u306e\u8a18\u4e8b\u3067\u306fpython\u7279\u6709\u306e\u6587\u5b57\u5217\u64cd\u4f5c\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002\u3082\u3057\u6587\u5b57\u5217\u64cd\u4f5c\u3067\u306a\u304f\u3001\u6570\u5024\u8a08\u7b97\u306b\u3064\u3044\u3066\u77e5\u308a\u305f\u3044\u65b9\u306f\u30b3\u30c1\u30e9\u306e\u8a18\u4e8b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002python\u306b\u304a\u3051\u308b\u6587\u5b57\u5217\u64cd\u4f5c\u306e\u57fa\u672cpython\u3067\u6587\u5b57\u5217\u3092\u6271\u3046\u3068\u304d\u306b\u306f\u300e&#039;\uff08\u30b7\u30f3\u30b0\u30eb\u30af\u30aa\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\uff09\u300f\u3067\u3082\u300e&quot;...<br><a class=\"no_icon\" href=\"https:\/\/python-introduction.com\/?p=213\">python\u7279\u6709\u306e\u6587\u5b57\u5217\u64cd\u4f5c\u307e\u3068\u3081<\/a> - python\u5165\u9580\u30c9\u30c3\u30c8\u30b3\u30e0<\/td><\/tr><\/tbody><\/table><\/div><\/p>\n<div class=\"linkcard\"><table border=\"1\" cellspacing=\"0\" cellpadding=\"4\"><tbody><\/tr><tr><td>\u3053\u306e\u8a18\u4e8b\u3067\u306fpython\u4e0a\u3067\u4f7f\u7528\u3059\u308b\u6587\u5b57\u5217\u3092\u5206\u5272\u3057\u305f\u308a\u62bd\u51fa\u3057\u305f\u308a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002\u6587\u5b57\u5217\u64cd\u4f5c\u306e\u57fa\u672c\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3054\u89a7\u304f\u3060\u3055\u3044\u3002\u3010python\u5165\u9580\u3011\u6587\u5b57\u5217\u3092\u5206\u5272\u3057\u3066\u8868\u793a\u3059\u308b\u65b9\u6cd5\u305f\u3068\u3048\u3070\u3001\u300c\u304a\u3070\u3042\u3061\u3083\u3093\u3001\u5927\u597d\u304d\u3060\u3088\u300d\u3067\u300e\u3070\u300f...<br><a class=\"no_icon\" href=\"https:\/\/python-introduction.com\/?p=296\">\u3010python\u5165\u9580\u3011\u6587\u5b57\u5217\u3092\u5206\u5272\u3057\u305f\u308a\u62bd\u51fa\u3057\u305f\u308a\u3059\u308b\u65b9\u6cd5<\/a> - python\u5165\u9580\u30c9\u30c3\u30c8\u30b3\u30e0<\/td><\/tr><\/tbody><\/table><\/div>\n<h2><span id=\"Python4bool\">Python\u3067\u4f7f\u3046\u5909\u6570\u306e\u578b4\uff0ebool\u578b<\/span><\/h2>\n<p>bool\u578b\u306f\u771f\u507d\u5024\u3067\u3059\u3002<\/p>\n<p>\u300c\u771f\u507d\u5024\u3063\u3066\uff1f\u300d\u3068\u7591\u554f\u306b\u611f\u3058\u305f\u65b9\u3082\u3044\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u306d\u3002<br \/>\n\u771f\u507d\u5024\u3068\u306f\u771f\u304b\u507d\u304b\u5224\u65ad\u3059\u308b\u3082\u306e\u3092\u3044\u3044\u307e\u3059\u3002<\/p>\n<p>\u771f\u304b\u507d\u304b\u306e\u4e8c\u8005\u629e\u4e00\u3068\u3044\u3046\u610f\u5473\u3067\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u7c21\u5358\u306b\u3044\u3046\u3068\u3001\u5408\u3063\u3066\u308b\u304b\u9593\u9055\u3063\u3066\u308b\u304b<br \/>\n\u5224\u65ad\u3059\u308b\u3063\u3066\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u6b63\u3057\u304b\u3063\u305f\u3089true\uff08\u771f\uff09\u3001\u9593\u9055\u3063\u3066\u305f\u3089false(\u507d\uff09\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c8 \r\nz = 2 &lt; 1\r\n \r\nprint(z)<\/pre>\n<p>\u3068\u3044\u3046\u5834\u5408\u3001<br \/>\n2\u30681\u306a\u30892\u306e\u65b9\u304c\u5927\u304d\u3044\u3067\u3059\u306d\u3002<br \/>\n\u306a\u306e\u306b\u3001\u4e0d\u7b49\u53f7\u304c\u9006\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u9593\u9055\u3063\u3066\u307e\u3059\u3002<br \/>\n\u9593\u9055\u3063\u3066\u3044\u308b\u3053\u3068\u3092Python\u3067\u306f\u300e\u507d\u300f\u3063\u3066\u8a00\u3063\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u306a\u306e\u3067\u5b9f\u884c\u3059\u308b\u3068<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/gisto806.jpg\" alt=\"false\" width=\"237\" height=\"114\" class=\"alignnone size-full wp-image-463\" \/><\/p>\n<p>false\uff08\u507d\uff09\u3068\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u308c\u3092type\u3092\u4f7f\u3063\u3066\u307f\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c8\u2019\r\nz = 2 &lt; 1\r\n \r\nprint(type(z))<\/pre>\n<p>\u4e0a\u8a18\u3092\u5b9f\u884c\u3059\u308b\u3068<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/falsesan806.jpg\" alt=\"false\" width=\"243\" height=\"116\" class=\"alignnone size-full wp-image-464\" \/><\/p>\n<p>bool\u578b\u3068\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u306d\u3002<\/p>\n<p>\u3053\u308c\u306f\u6574\u6570\uff08int\u578b\uff09\u3068\u5224\u65ad\u3055\u308c\u305f\u3093\u3058\u3083\u306a\u304f\u3066<br \/>\nbool\u578b\uff08\u771f\u507d\u5024\uff09\u3060\u3068\u5224\u65ad\u3055\u308c\u305f\u3063\u3066\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306bbool\u578b\u306f\u30d6\u30fc\u30ea\u30a2\u30f3\u578b\u3068\u8aad\u307f\u307e\u3059\u3002<\/p>\n<p>\u5148\u307b\u3069\u306ffalse\u3068\u3044\u3046\u7d50\u679c\u3060\u3063\u305f\u306e\u3067<br \/>\n\u4eca\u5ea6\u306ftrue\u3068\u3044\u3046\u7d50\u679c\u3092\u8868\u793a\u3055\u305b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c9\r\nz = 120 &gt; 100\r\n \r\nprint(z)<\/pre>\n<p>\u5b9f\u884c\u3059\u308b\u3068<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/trued806.jpg\" alt=\"true\" width=\"272\" height=\"118\" class=\"alignnone size-full wp-image-467\" \/><\/p>\n<p>true\u3068\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>type\u3092\u8abf\u3079\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c9\u2019\r\nz = 120 &gt; 100\r\n \r\nprint(type(z))<\/pre>\n<p>\u5b9f\u884c\u3057\u3066\u307f\u308b\u3068<br \/>\n<img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/truedes806.jpg\" alt=\"bool\u578b\" width=\"226\" height=\"110\" class=\"alignnone size-full wp-image-468\" \/><br \/>\n\u3068bool\u578b\u3068\u306a\u3063\u3066\u307e\u3059\u306d\u3002<\/p>\n<h2><span id=\"Python5list\">Python\u3067\u4f7f\u3046\u5909\u6570\u306e\u578b5\uff0elist\u578b<\/span><\/h2>\n<p>list\u578b\u306f\u30ea\u30b9\u30c8\u578b\u3068\u8aad\u307f\u307e\u3059\u3002<br \/>\n\u30ea\u30b9\u30c8\u3068\u3044\u3046\u304f\u3089\u3044\u3067\u3059\u304b\u3089\u3001<br \/>\n\u305d\u306e\u307e\u307e\u3067\u3059\u304c\u30ea\u30b9\u30c8\u3092\u6271\u3046\u578b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u5177\u4f53\u4f8b\u3092\u898b\u305f\u65b9\u304c\u308f\u304b\u308a\u3084\u3059\u3044\u3068\u601d\u3046\u306e\u3067<br \/>\n\u65e9\u901f\u3001\u3053\u3061\u3089\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c10\r\nz = [20,30,4,8]\r\n \r\nprint(z)<\/pre>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067list\u578b\u306e\u5834\u5408\u3001[]\uff08\u89d2\u62ec\u5f27\uff09\u3067<br \/>\n\u304f\u304f\u308b\u3053\u3068\u3067\u8868\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u884c\u3059\u308b\u3068<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/listtt806.jpg\" alt=\"list\u578b\" width=\"253\" height=\"111\" class=\"alignnone size-full wp-image-470\" \/><\/p>\n<p>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>type\u3092\u8abf\u3079\u3066\u307f\u308b\u3068<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c10'\r\nz = [20,30,4,8]\r\n \r\nprint(type(z))<\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/lisyyy806.jpg\" alt=\"list\u578b\" width=\"231\" height=\"107\" class=\"alignnone size-full wp-image-473\" \/><\/p>\n<p>list\u578b\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u306d\u3002<\/p>\n<p>\u30ea\u30b9\u30c8\u578b\u306f[]\u3067\u304f\u304f\u308a\u3064\u3064\u30011\u30641\u3064\u306e\u30c7\u30fc\u30bf\u306b\u95a2\u3057\u3066\u306f<br \/>\n\u300e,\u300f\u3067\u533a\u5207\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3067\u3042\u308b\u306a\u3089\u3001\u6587\u5b57\u5217\u3067\u3082\u6570\u5b57\u3067\u3082\u306a\u3093\u3067\u3082<br \/>\n\u6271\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001\u6587\u5b57\u5217\u306e\u5834\u5408\u306b\u306f&#8217;\uff08\u30b7\u30f3\u30b0\u30eb\u30af\u30aa\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\uff09\u304b<br \/>\n&#8220;\uff08\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\uff09\u3067\u56f2\u3093\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c11\r\nz = ['\u304a\u306f\u3088\u3046','\u3053\u3093\u306b\u3061\u306f','X\u3084Y']\r\nw = [23,'\u6570\u5b57\u3068\u6587\u5b57\u5217\u304c\u6df7\u3056\u3063\u3066\u3082OK',65]\r\nprint(z)\r\nprint(w)<\/pre>\n<p>\u5b9f\u884c\u3059\u308b\u3068\u3001<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/jikkoulisy806.jpg\" alt=\"list\u578b\" width=\"376\" height=\"170\" class=\"alignnone size-full wp-image-471\" srcset=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/jikkoulisy806.jpg 376w, https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/jikkoulisy806-300x136.jpg 300w\" sizes=\"(max-width: 376px) 100vw, 376px\" \/><\/p>\n<p>\u3068\u306a\u308a\u307e\u3059\u306d\u3002<\/p>\n<p>\u307e\u305ftype\u3067\u8abf\u3079\u3066\u307f\u308b\u3068<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c11'\r\nz = ['\u304a\u306f\u3088\u3046','\u3053\u3093\u306b\u3061\u306f','X\u3084Y']\r\nw = [23,'\u6570\u5b57\u3068\u6587\u5b57\u5217\u304c\u6df7\u3056\u3063\u3066\u3082OK',65]\r\nprint(type(z))\r\nprint(type(w))<\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/typelisyyt805.jpg\" alt=\"list\u578b\" width=\"436\" height=\"170\" class=\"alignnone size-full wp-image-472\" srcset=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/typelisyyt805.jpg 436w, https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/typelisyyt805-300x117.jpg 300w\" sizes=\"(max-width: 436px) 100vw, 436px\" \/><\/p>\n<p>list\u578b\u3068\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u306d\u3002<\/p>\n<h2><span id=\"Python6tuple\">Python\u3067\u4f7f\u3046\u5909\u6570\u306e\u578b6\uff0etuple\u578b<\/span><\/h2>\n<p>tuple\u578b\u306f\u30bf\u30d7\u30eb\u578b\u3068\u8aad\u307f\u307e\u3059\u3002<\/p>\n<p>tuple\u578b\u306f\u8907\u6570\u306e\u8981\u7d20\u3067\u3067\u304d\u3066\u3044\u307e\u3059\u3002<br \/>\n\u305d\u3057\u3066\u8981\u7d20\u304c\u9806\u756a\u306b\u4e26\u3093\u3067\u3044\u308b\u3082\u306e\u304ctuple\u578b\u3067\u3059\u3002<\/p>\n<p>\u300ctuple\u578b\u3068list\u578b\u3063\u3066\u4f3c\u3066\u307e\u3059\u306d\uff1f\u300d<br \/>\n\u3068\u601d\u3063\u305f\u65b9\u3082\u3044\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u78ba\u304b\u306b\u4e21\u8005\u306f\u304b\u306a\u308a\u4f3c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u305f\u3060\u3001tuple\u578b\u306f\u4e00\u5ea6\u4f5c\u3063\u305f\u3089\u5909\u66f4\u304c\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>list\u578b\u306f\u3067\u304d\u307e\u3059\u3002<br \/>\n\u306a\u306e\u3067\u3001\u53b3\u5bc6\u306b\u3044\u3046\u3068list\u578b\u3068tuple\u578b\u306f\u9055\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u8868\u8a18\u3082\u9055\u3044\u307e\u3059\u3002<\/p>\n<p>tuple\u578b\u306e\u5834\u5408\u306b\u306f\uff08\uff09\u3067\u56f2\u307f\u307e\u3059\u3002<br \/>\n\u305d\u3057\u3066\u300e,\u300f\u3067\u4e00\u3064\u4e00\u3064\u533a\u5207\u308a\u307e\u3059\u3002<\/p>\n<p>list\u578b\u306f[]\u3067\u56f2\u307f\u307e\u3057\u305f\u3002<br \/>\n\u3053\u3053\u3067\u3082tuple\u578b\u3068list\u578b\u306f\u9055\u3044\u307e\u3059\u306d\u3002<\/p>\n<p>\u305f\u3060tuple\u578b\u3082\u6587\u5b57\u5217\u3068\u6570\u3092\u4e00\u7dd2\u306b\u6df7\u305c\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<br \/>\n\u5177\u4f53\u4f8b\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c12\r\nz = ('\u571f\u7802\u707d\u5bb3',28,'\u8cc7\u91d1\u51cd\u7d50',966.3,'\u6c34\u5bb3')\r\nprint(z)<\/pre>\n<p>\u4e0a\u8a18\u3092\u5b9f\u884c\u3059\u308b\u3068<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/tuple806.jpg\" alt=\"tuple\u578b\" width=\"401\" height=\"127\" class=\"alignnone size-full wp-image-475\" srcset=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/tuple806.jpg 401w, https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/tuple806-300x95.jpg 300w\" sizes=\"(max-width: 401px) 100vw, 401px\" \/><\/p>\n<p>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>type\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c12'\r\nz = ('\u571f\u7802\u707d\u5bb3',28,'\u8cc7\u91d1\u51cd\u7d50',966.3,'\u6c34\u5bb3')\r\nprint(type(z))<\/pre>\n<p>\u5b9f\u884c\u3059\u308b\u3068<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/tuple11806.jpg\" alt=\"tuple\u578b\" width=\"254\" height=\"131\" class=\"alignnone size-full wp-image-476\" \/><\/p>\n<p>tuple\u578b\u3068\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u306d\u3002<\/p>\n<h2><span id=\"Python7dict\">Python\u3067\u4f7f\u3046\u5909\u6570\u306e\u578b7\uff0edict\u578b<\/span><\/h2>\n<p>dict\u578b\u306f\u8f9e\u66f8\u306e\u3053\u3068\u3067\u3059\u3002<br \/>\n\u8f9e\u66f8\u3092\u82f1\u8a9e\u3067dictionary\u3068\u3044\u3044\u307e\u3059\u304b\u3089\u3001<br \/>\n\u306a\u3093\u3068\u306a\u304f\u308f\u304b\u3063\u3066\u3044\u305f\u3060\u3051\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>list\u578b\u3084tuple\u578b\u3068\u4f3c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3067\u3082\u3001\u9055\u3044\u3082\u3042\u308a\u307e\u3059\u306e\u3067<br \/>\n\u5177\u4f53\u4f8b\u3092\u307f\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c13\r\n# \u3053\u3053\u3067\u51fa\u3066\u304f\u308ba\u3084b\u306f\u30ad\u30fc\u3068\u3044\u3044\u307e\u3059\u3002\r\n\r\nz =  {'a':5, 'b':92, 'c':'\u5fc3\u81d3\u9ebb\u75fa', 'd':'\u6975\u5bd2\u5730\u7344'}\r\nprint(z)<\/pre>\n<p>\u5b9f\u884c\u3059\u308b\u3068<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/sinzou806.jpg\" alt=\"dict\u578b\" width=\"482\" height=\"159\" class=\"alignnone size-full wp-image-478\" srcset=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/sinzou806.jpg 482w, https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/sinzou806-300x99.jpg 300w\" sizes=\"(max-width: 482px) 100vw, 482px\" \/><\/p>\n<p>\u3068\u306a\u308a\u307e\u3059\u306d\u3002<\/p>\n<p>type\u3092\u8abf\u3079\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c13'\r\n# \u3053\u3053\u3067\u51fa\u3066\u304f\u308ba\u3084b\u306f\u30ad\u30fc\u3068\u3044\u3044\u307e\u3059\u3002\r\n\r\nz =  {'a':5, 'b':92, 'c':'\u5fc3\u81d3\u9ebb\u75fa', 'd':'\u6975\u5bd2\u5730\u7344'}\r\nprint(type(z))<\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/dictgata806.jpg\" alt=\"dict\u578b\" width=\"461\" height=\"157\" class=\"alignnone size-full wp-image-479\" srcset=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/dictgata806.jpg 461w, https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/dictgata806-300x102.jpg 300w\" sizes=\"(max-width: 461px) 100vw, 461px\" \/><\/p>\n<p>dict\u578b\u3068\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>dict\u578b\u306b\u3059\u308b\u30dd\u30a4\u30f3\u30c8\u306f<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\"># \u4f8b\u984c13\r\n# \u3053\u3053\u3067\u51fa\u3066\u304f\u308ba\u3084b\u306f\u30ad\u30fc\u3068\u3044\u3044\u307e\u3059\u3002\r\n\r\nz =  {'a':5, 'b':92, 'c':'\u5fc3\u81d3\u9ebb\u75fa', 'd':'\u6975\u5bd2\u5730\u7344'}\r\nprint(z)<\/pre>\n<p>\u3068<br \/>\na\u3084b\u3068\u3044\u3063\u305f\u30ad\u30fc\u306b\u5bfe\u3057\u3066&#8217;\uff08\u30b7\u30f3\u30b0\u30eb\u30af\u30aa\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\uff09\u3067\u56f2\u3080\u3053\u3068<br \/>\n\u305d\u308c\u304b\u3089\u300e:\uff08\u30b3\u30ed\u30f3\uff09\u300f\u3067\u6570\u5b57\u3084\u6587\u5b57\u5217\u3068\u3064\u306a\u3052\u308b\u3053\u3068\u3001<br \/>\n\u3042\u3068\u3001\u4e00\u3064\u4e00\u3064\u3001\u300e,(\u30ab\u30f3\u30de\uff09\u300f\u3067\u533a\u5207\u308b\u3053\u3068<br \/>\n\u5168\u4f53\u306f{}\u3067\u56f2\u3080\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u6587\u5b57\u5217\u3084\u6570\u5b57\u3092list\u578b\u307f\u305f\u3044\u306b\u6271\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u3053\u308c\u306f\u4f8b\u984c13\u3092\u898b\u3066\u3082\u3089\u3048\u308c\u3070<br \/>\n\u308f\u304b\u3063\u3066\u3044\u305f\u3060\u3051\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0a\u3067\u89e3\u8aac\u3092\u7d42\u308f\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u3053\u3053\u307e\u3067\u306e\u8a18\u4e8b\u3067Python\u5165\u9580\u7de8\u3068\u3057\u3066 \u5909\u6570\u306b\u3064\u3044\u3066\u305f\u304f\u3055\u3093\u89e3\u8aac\u3057\u3066\u304d\u307e\u3057\u305f\u3002 \u307e\u3060\u898b\u3066\u306a\u3044\u65b9\u306f\u5148\u306b\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002 \u21d2Python\u306e\u5909\u6570\u5ba3\u8a00\u3067\u6ce8\u610f\u3059\u3079\u304d\u3053\u3068 \u21d2\u3010Python\u5165\u9580\u3011\u5909\u6570\u306e\u4ee3\u5165\u306b\u3064\u3044\u3066\u308f\u304b\u308a\u3084 [&hellip;]","protected":false},"author":1,"featured_media":448,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,17],"tags":[3,36,34],"_links":{"self":[{"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/posts\/447"}],"collection":[{"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/python-introduction.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=447"}],"version-history":[{"count":13,"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/posts\/447\/revisions"}],"predecessor-version":[{"id":480,"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/posts\/447\/revisions\/480"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/media\/448"}],"wp:attachment":[{"href":"https:\/\/python-introduction.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/python-introduction.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/python-introduction.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}