{"id":319,"date":"2018-12-29T21:40:25","date_gmt":"2018-12-29T12:40:25","guid":{"rendered":"https:\/\/www.nblog09.com\/w\/?p=319"},"modified":"2025-09-26T16:01:51","modified_gmt":"2025-09-26T07:01:51","slug":"python-number-variable","status":"publish","type":"post","link":"https:\/\/www.nblog09.com\/w\/2018\/12\/29\/python-number-variable\/","title":{"rendered":"Python\u306e\u6570\u5024\u578b\uff08int,float\uff09\u306e\u57fa\u672c\u3068\u3001\u6570\u5024\u6f14\u7b97\u3001\u578b\u5909\u63db\u306b\u3064\u3044\u3066"},"content":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<strong>\u6574\u6570\u578b\uff08int\uff09\u3068\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b\uff08float\uff09<\/strong>\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u3068\u4f7f\u3044\u5206\u3051\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3059\u308b\u3002<\/p>\n<h2 class=\"title-border\">Python\u306e\u6570\u5024\u578b\u306e\u57fa\u672c\u6982\u5ff5<\/h2>\n<p>Python\u306b\u306f\u4e3b\u306b2\u3064\u306e\u6570\u5024\u578b\u304c\u5b58\u5728\u3059\u308b\u3002<strong>\u6574\u6570\u578b\uff08int\uff09<\/strong>\u3068<strong>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b\uff08float\uff09<\/strong>\u3060\u3002\u305d\u308c\u305e\u308c\u7570\u306a\u308b\u7279\u5fb4\u3068\u7528\u9014\u3092\u6301\u3063\u3066\u3044\u308b\u3002<\/p>\n<div class=\"sub-item\">\n<h3>\u6574\u6570\u578b\uff08int\uff09\u306e\u7279\u5fb4<\/h3>\n<p>\u6574\u6570\u578b\u306f\u3001\u5c0f\u6570\u70b9\u3092\u542b\u307e\u306a\u3044\u6570\u5024\u3092\u8868\u73fe\u3059\u308b\u305f\u3081\u306e\u30c7\u30fc\u30bf\u578b\u3060\u3002\u6b63\u306e\u6570\u3001\u8ca0\u306e\u6570\u3001\u305d\u3057\u3066\u30bc\u30ed\u3092\u6271\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n<pre class=\"line-numbers\"><code class=\"language-python\"># \u6574\u6570\u578b\u306e\u57fa\u672c\u7684\u306a\u5ba3\u8a00\npositive_num = 42      # \u6b63\u306e\u6574\u6570\nnegative_num = -100    # \u8ca0\u306e\u6574\u6570\nzero = 0               # \u30bc\u30ed\n\n# \u5927\u304d\u306a\u6570\u5024\u3082\u6271\u3048\u308b\nbig_number = 123456789012345678901234567890\nprint(type(big_number))  # <class 'int'>\n\n# \u578b\u306e\u78ba\u8a8d\nprint(type(positive_num))  # <class 'int'>\n<\/code><\/pre>\n<p>Python\u306e\u6574\u6570\u578b\u306e\u7d20\u6674\u3089\u3057\u3044\u3068\u3053\u308d\u306f\u3001<strong>\u30b5\u30a4\u30ba\u5236\u9650\u304c\u306a\u3044<\/strong>\u3053\u3068\u3060\u3002<br \/>\n\u4ed6\u306e\u8a00\u8a9e\u3067\u306f\u5927\u304d\u306a\u6570\u3092\u6271\u3046\u969b\u306b\u7279\u5225\u306a\u578b\u304c\u5fc5\u8981\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308b\u304c\u3001Python\u306f<strong>\u30e1\u30e2\u30ea\u304c\u8a31\u3059\u9650\u308a<\/strong>\u5927\u304d\u306a\u6574\u6570\u3092\u6271\u3048\u308b\u3002\n<\/div>\n<div class=\"sub-item\">\n<h3>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b\uff08float\uff09\u306e\u7279\u5fb4<\/h3>\n<p>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b\u306f\u3001\u5c0f\u6570\u70b9\u3092\u542b\u3080\u6570\u5024\u3092\u8868\u73fe\u3059\u308b\u305f\u3081\u306e\u30c7\u30fc\u30bf\u578b\u3060\u3002<\/p>\n<pre class=\"line-numbers\"><code class=\"language-python\"># \u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b\u306e\u57fa\u672c\u7684\u306a\u5ba3\u8a00\npi = 3.14159           # \u5c0f\u6570\ntemperature = -5.5     # \u8ca0\u306e\u5c0f\u6570\nscientific = 1.23e-4   # \u79d1\u5b66\u8a18\u6cd5\uff080.000123\uff09\n\n# \u6574\u6570\u3067\u3082\u5c0f\u6570\u70b9(.)\u3092\u3064\u3051\u308b\u3068float\u578b\u306b\u306a\u308b\nfloat_zero = 0.0\nprint(type(float_zero))  # <class 'float'>\n\n# \u578b\u306e\u78ba\u8a8d\nprint(type(pi))        # <class 'float'>\n<\/code><\/pre>\n<\/div>\n<a href=\"https:\/\/www.udemy.com\/course\/python-python\/?couponCode=20260501_NM_PYTHON\" target=\"_blank\"><div class=\"affiliate-box\"><img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/09\/Python3.11.png\" alt=\"Python\u8b1b\u5ea7\" class=\"affiliate-img\"><div class=\"affiliate-text\"><div class=\"affiliate-ribbon\">\u683c\u5b89\u30af\u30fc\u30dd\u30f3<\/div><h3 class=\"affiliate-title\">\u3010Udemy\u3011Python\u5165\u9580\u8b1b\u5ea7(0\u304b\u3089Python\u306e\u57fa\u790e\u3092\u4f53\u7cfb\u7684\u306b\u5b66\u3093\u3067\u3001\u751f\u6210AI\u3067\u30d0\u30a4\u30d6\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0)<\/h3><p class=\"affiliate-desc\">\u53d7\u8b1b\u751f3000\u4eba\u307b\u3069\u306e\u4eba\u6c17\u8b1b\u5ea7\u3002<strong>Python\u306e\u57fa\u790e\u304b\u3089\u751f\u6210AI\u6d3b\u7528<\/strong>\u307e\u3067\u3092<strong>20\u6642\u9593\u307b\u3069<\/strong>\u3067\u4e00\u6c17\u306b\u5b66\u3073\u307e\u3059\u3002\u696d\u52d9\u3067\u6d3b\u304b\u305b\u308bPython\u306e\u57fa\u790e\u77e5\u8b58\u306f\u3057\u3063\u304b\u308a\u3068\u8eab\u306b\u3064\u304d\u307e\u3059\u3002<br><strong>\u6599\u91d1: \u7d041300-1500\u5186<\/strong><\/p><\/div><\/div><\/a>\n<h2 class=\"title-border\">\u6570\u5024\u578b\u306e\u57fa\u672c\u6f14\u7b97<\/h2>\n<p>\u6574\u6570\u578b\u3068\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b\u3067\u306f\u3001\u540c\u3058\u6f14\u7b97\u5b50\u3092\u4f7f\u3063\u3066\u3082\u7d50\u679c\u306e\u578b\u304c\u5909\u308f\u308b\u3053\u3068\u304c\u3042\u308b\u3002<br \/>\n\u3053\u308c\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u3067\u3001\u4e88\u671f\u3057\u306a\u3044\u30a8\u30e9\u30fc\u3092\u9632\u3052\u308b\u3002<\/p>\n<div class=\"sub-item\">\n<h3>\u6574\u6570\u578b\u306e\u6f14\u7b97<\/h3>\n<p>\u6574\u6570\u540c\u58eb\u306e\u6f14\u7b97\u3067\u306f\u3001\u591a\u304f\u306e\u5834\u5408\u7d50\u679c\u3082\u6574\u6570\u306b\u306a\u308b\u3002\u305f\u3060\u3057\u3001\u9664\u7b97\uff08\/\uff09\u306f\u4f8b\u5916\u3060\u3002<\/p>\n<pre class=\"line-numbers\"><code class=\"language-python\">x = 10\ny = 3\n\nprint(x + y)   # \u52a0\u7b97: 13 (int\u578b)\nprint(x - y)   # \u6e1b\u7b97: 7 (int\u578b)\nprint(x * y)   # \u4e57\u7b97: 30 (int\u578b)\nprint(x \/ y)   # \u9664\u7b97: 3.3333... (float\u578b\u306b\u306a\u308b\uff01)\nprint(x \/\/ y)  # \u6574\u6570\u9664\u7b97: 3 (int\u578b\u3001\u5c0f\u6570\u70b9\u4ee5\u4e0b\u5207\u308a\u6368\u3066)\nprint(x % y)   # \u4f59\u308a: 1 (int\u578b)\nprint(x ** y)  # \u3079\u304d\u4e57: 1000 (int\u578b)\n\n# \u578b\u306e\u78ba\u8a8d\nprint(type(x \/ y))   # class 'float'\nprint(type(x \/\/ y))  # class 'int'\n<\/code><\/pre>\n<\/div>\n<div class=\"sub-item\">\n<h3>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b\u306e\u6f14\u7b97<\/h3>\n<p>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u304c\u542b\u307e\u308c\u308b\u6f14\u7b97\u3067\u306f\u3001\u7d50\u679c\u306f\u57fa\u672c\u7684\u306b\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b\u306b\u306a\u308b\u3002<\/p>\n<pre class=\"line-numbers\"><code class=\"language-python\">x = 10.5\ny = 3.2\n\nprint(x + y)   # \u52a0\u7b97: 13.7\nprint(x - y)   # \u6e1b\u7b97: 7.3\nprint(x * y)   # \u4e57\u7b97: 33.6\nprint(x \/ y)   # \u9664\u7b97: 3.28125\nprint(x \/\/ y)  # \u6574\u6570\u9664\u7b97: 3.0 (\u7d50\u679c\u306ffloat\u578b)\nprint(x % y)   # \u5270\u4f59: 0.8999999999999995\nprint(x ** y)  # \u3079\u304d\u4e57: 1852.7027964066515...\n\n# \u6574\u6570\u3068\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u306e\u6df7\u5408\u6f14\u7b97\nresult = 10 + 3.5    # 13.5 (float\u578b)\nprint(type(result))  # class 'float'\n<\/code><\/pre>\n<\/div>\n<div class=\"tips\">\u9664\u7b97\u6f14\u7b97\u5b50\uff08\/\uff09\u306f\u3001<strong>\u6574\u6570\u540c\u58eb\u306e\u8a08\u7b97\u3067\u3082\u5fc5\u305afloat\u578b\u3092\u8fd4\u3059<\/strong>\u3002\u3053\u308c\u306fPython 3\u306e\u91cd\u8981\u306a\u4ed5\u69d8\u5909\u66f4\u306e\u4e00\u3064\u3060\u3002\u6574\u6570\u306e\u7d50\u679c\u304c\u6b32\u3057\u3044\u5834\u5408\u306f\u3001\u6574\u6570\u9664\u7b97\u6f14\u7b97\u5b50\uff08\/\/\uff09\u3092\u4f7f\u3046\u304b\u3001\u7d50\u679c\u3092int()\u3067\u5909\u63db\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/div>\n<h2 class=\"title-border\">\u578b\u5909\u63db\u306e\u91cd\u8981\u6027\u3068\u5b9f\u8df5<\/h2>\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3044\u3066\u3044\u308b\u3068\u3001\u6574\u6570\u578b\u3068\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b\u3092\u76f8\u4e92\u306b\u5909\u63db\u3059\u308b\u5fc5\u8981\u304c\u751f\u3058\u308b\u3002Python\u3067\u306f\u3001\u30d3\u30eb\u30c8\u30a4\u30f3\u95a2\u6570\u3092\u4f7f\u3063\u3066\u7c21\u5358\u306b\u578b\u5909\u63db\u304c\u3067\u304d\u308b\u3002<\/p>\n<div class=\"sub-item\">\n<h3>\u6570\u5024\u578b\u304b\u3089\u6587\u5b57\u5217\u3078\u306e\u5909\u63db<\/h3>\n<p>\u6570\u5024\u3092\u6587\u5b57\u5217\u3068\u3057\u3066\u6271\u3044\u305f\u3044\u5834\u5408\u3001str()\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3002<\/p>\n<pre class=\"line-numbers\"><code class=\"language-python\"># \u6570\u5024\u304b\u3089\u6587\u5b57\u5217\u3078\u306e\u5909\u63db\nnumber_int = 42\nnumber_float = 3.14159\n\nstr_int = str(number_int)      # \"42\"\nstr_float = str(number_float)  # \"3.14159\"\n\nprint(f\"\u6574\u6570: {str_int}, \u578b: {type(str_int)}\")\nprint(f\"\u5c0f\u6570: {str_float}, \u578b: {type(str_float)}\")\n\n# \u6587\u5b57\u5217\u9023\u7d50\u3067\u306e\u6d3b\u7528\nmessage = \"\u4fa1\u683c\u306f\" + str(1000) + \"\u5186\u3067\u3059\"\nprint(message)  # \u4fa1\u683c\u306f1000\u5186\u3067\u3059\n<\/code><\/pre>\n<\/div>\n<div class=\"sub-item\">\n<h3>\u6587\u5b57\u5217\u304b\u3089\u6570\u5024\u3078\u306e\u5909\u63db<\/h3>\n<p>\u6587\u5b57\u5217\u3092\u6570\u5024\u306b\u5909\u63db\u3059\u308b\u969b\u306f\u3001int()\u3084float()\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3002\u305f\u3060\u3057\u3001\u5909\u63db\u3067\u304d\u306a\u3044\u6587\u5b57\u5217\u3092\u6e21\u3059\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3060\u3002<\/p>\n<pre class=\"line-numbers\"><code class=\"language-python\"># \u6587\u5b57\u5217\u304b\u3089\u6570\u5024\u3078\u306e\u5909\u63db\nstr_number = \"123\"\nstr_decimal = \"45.67\"\n\n# \u6b63\u5e38\u306a\u5909\u63db\nint_result = int(str_number)      # 123 (int\u578b)\nfloat_result = float(str_decimal) # 45.67 (float\u578b)\n\nprint(f\"\u5909\u63db\u7d50\u679c: {int_result}, \u578b: {type(int_result)}\")\nprint(f\"\u5909\u63db\u7d50\u679c: {float_result}, \u578b: {type(float_result)}\")\n\n# \u6ce8\u610f\uff1a\u5909\u63db\u3067\u304d\u306a\u3044\u6587\u5b57\u5217\ntry:\n    invalid = int(\"abc\")  # ValueError \u304c\u767a\u751f\nexcept ValueError as e:\n    print(f\"\u30a8\u30e9\u30fc: {e}\")\n<\/code><\/pre>\n<\/div>\n<div class=\"sub-item\">\n<h3>int()\u3068float()\u306e\u76f8\u4e92\u5909\u63db<\/h3>\n<p>\u6570\u5024\u578b\u540c\u58eb\u306e\u5909\u63db\u306f\u3001\u30c7\u30fc\u30bf\u306e\u640d\u5931\u306b\u6ce8\u610f\u3057\u306a\u304c\u3089\u884c\u3046\u3002<\/p>\n<pre class=\"line-numbers\"><code class=\"language-python\"># float \u304b\u3089 int \u3078\u306e\u5909\u63db\uff08\u5c0f\u6570\u70b9\u4ee5\u4e0b\u5207\u308a\u6368\u3066\uff09\npi = 3.14159\nint_pi = int(pi)        # 3 (\u5c0f\u6570\u70b9\u4ee5\u4e0b\u5207\u308a\u6368\u3066)\nnegative = int(-2.8)    # -2 (\u5c0f\u6570\u70b9\u4ee5\u4e0b\u5207\u308a\u6368\u3066)\n\n# int \u304b\u3089 float \u3078\u306e\u5909\u63db\ninteger = 100\nfloat_integer = float(integer)  # 100.0\n\n<\/code><\/pre>\n<\/div>\n<h2 class=\"title-border\">\u5b9f\u8df5\u7684\u306a\u6570\u5024\u8a08\u7b97\u30d7\u30ed\u30b0\u30e9\u30e0<\/h2>\n<p>\u3053\u308c\u307e\u3067\u5b66\u3093\u3060\u77e5\u8b58\u3092\u6d3b\u7528\u3057\u3066\u3001\u5b9f\u969b\u306e\u8a08\u7b97\u51e6\u7406\u3092\u542b\u3080\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3057\u3066\u307f\u3088\u3046\u3002<\/p>\n<pre class=\"line-numbers\"><code class=\"language-python\"># \u6d88\u8cbb\u7a0e\u8a08\u7b97\u30d7\u30ed\u30b0\u30e9\u30e0\nprint(\"=== \u6d88\u8cbb\u7a0e\u8a08\u7b97\u30b7\u30b9\u30c6\u30e0 ===\")\n\n# \u30e6\u30fc\u30b6\u30fc\u304b\u3089\u4fa1\u683c\u3092\u5165\u529b\nprice_str = input(\"\u5546\u54c1\u306e\u4fa1\u683c\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044: \")\nprice = int(price_str)  # \u6587\u5b57\u5217\u3092\u6574\u6570\u306b\u5909\u63db\n\n# \u7a0e\u7387\u8a2d\u5b9a\uff08\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\uff09\ntax_rate = 0.10  # 10%\u306e\u6d88\u8cbb\u7a0e\n\n# \u7a0e\u984d\u8a08\u7b97\uff08\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u3067\u306e\u8a08\u7b97\uff09\ntax_amount = price * tax_rate\ntotal_price = price + tax_amount\n\nprint(f\"\\n--- \u8a08\u7b97\u7d50\u679c ---\")\nprint(f\"\u7a0e\u629c\u4fa1\u683c: {price:,}\u5186\")\nprint(f\"\u6d88\u8cbb\u7a0e\u984d: {tax_amount:.2f}\u5186\")\nprint(f\"\u7a0e\u8fbc\u4fa1\u683c: {total_price:.2f}\u5186\")\n\n# \u6574\u6570\u3067\u306e\u7a0e\u8fbc\u4fa1\u683c\uff08\u4e00\u822c\u7684\u306a\u8868\u793a\u65b9\u6cd5\uff09\ntotal_price_int = int(total_price)\nprint(f\"\u7a0e\u8fbc\u4fa1\u683c\uff08\u6574\u6570\u8868\u793a\uff09: {total_price_int:,}\u5186\")\n\n# \u5272\u308a\u52d8\u8a08\u7b97\npeople_str = input(\"\\n\u4f55\u4eba\u3067\u5272\u308a\u52d8\u3057\u307e\u3059\u304b\uff1f: \")\npeople = int(people_str)\n\nper_person = total_price \/ people\nper_person_rounded = int(per_person)\n\nprint(f\"\u4e00\u4eba\u3042\u305f\u308a: {per_person:.2f}\u5186\")\nprint(f\"\u4e00\u4eba\u3042\u305f\u308a\uff08\u6574\u6570\uff09: {per_person_rounded:,}\u5186\")\n<\/code><\/pre>\n<p>\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001\u6574\u6570\u578b\u3067\u4fa1\u683c\u3092\u6271\u3044\u3001\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b\u3067\u7a0e\u7387\u8a08\u7b97\u3092\u884c\u3044\u3001\u6700\u7d42\u7684\u306b\u8868\u793a\u7528\u306b\u9069\u5207\u306a\u578b\u306b\u5909\u63db\u3057\u3066\u3044\u308b\u3002<\/p>\n<a href=\"https:\/\/www.udemy.com\/course\/python-python\/?couponCode=20260501_NM_PYTHON\" target=\"_blank\"><div class=\"affiliate-box\"><img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/09\/Python3.11.png\" alt=\"Python\u8b1b\u5ea7\" class=\"affiliate-img\"><div class=\"affiliate-text\"><div class=\"affiliate-ribbon\">\u683c\u5b89\u30af\u30fc\u30dd\u30f3<\/div><h3 class=\"affiliate-title\">\u3010Udemy\u3011Python\u5165\u9580\u8b1b\u5ea7(0\u304b\u3089Python\u306e\u57fa\u790e\u3092\u4f53\u7cfb\u7684\u306b\u5b66\u3093\u3067\u3001\u751f\u6210AI\u3067\u30d0\u30a4\u30d6\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0)<\/h3><p class=\"affiliate-desc\">\u53d7\u8b1b\u751f3000\u4eba\u307b\u3069\u306e\u4eba\u6c17\u8b1b\u5ea7\u3002<strong>Python\u306e\u57fa\u790e\u304b\u3089\u751f\u6210AI\u6d3b\u7528<\/strong>\u307e\u3067\u3092<strong>20\u6642\u9593\u307b\u3069<\/strong>\u3067\u4e00\u6c17\u306b\u5b66\u3073\u307e\u3059\u3002\u696d\u52d9\u3067\u6d3b\u304b\u305b\u308bPython\u306e\u57fa\u790e\u77e5\u8b58\u306f\u3057\u3063\u304b\u308a\u3068\u8eab\u306b\u3064\u304d\u307e\u3059\u3002<br><strong>\u6599\u91d1: \u7d041300-1500\u5186<\/strong><\/p><\/div><\/div><\/a>\n<div class=\"tips\">\n\u305d\u308c\u305e\u308c\u306e\u578b\u306e\u7528\u9014<\/p>\n<p><strong>\u6574\u6570\u578b\uff08int\uff09\u3092\u4f7f\u3046\u5834\u9762\uff1a<\/strong><br \/>\n\u30fb\u30ab\u30a6\u30f3\u30c8\u51e6\u7406\uff08\u5546\u54c1\u6570\u3001\u4eba\u6570\u306a\u3069\uff09<br \/>\n\u30fb\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u6307\u5b9a\uff08\u30ea\u30b9\u30c8\u306e\u4f4d\u7f6e\u306a\u3069\uff09<br \/>\n\u30fbID\u756a\u53f7\u3084\u6574\u6570\u3067\u8868\u73fe\u3055\u308c\u308b\u5024<br \/>\n\u30fb\u30eb\u30fc\u30d7\u56de\u6570\u306e\u5236\u5fa1\n<\/ul>\n<p><strong>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b\uff08float\uff09\u3092\u4f7f\u3046\u5834\u9762\uff1a<\/strong><br \/>\n\u30fb\u5272\u5408\u3084\u6bd4\u7387\uff08\u7a0e\u7387\u3001\u6210\u529f\u7387\u306a\u3069\uff09<br \/>\n\u30fb\u6e2c\u5b9a\u5024\uff08\u8eab\u9577\u3001\u4f53\u91cd\u3001\u6e29\u5ea6\u306a\u3069\uff09<br \/>\n\u30fb\u79d1\u5b66\u6280\u8853\u8a08\u7b97<br \/>\n\u30fb\u7cbe\u5bc6\u306a\u8a08\u7b97\u304c\u5fc5\u8981\u306a\u51e6\u7406\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u6574\u6570\u578b\uff08int\uff09\u3068\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b\uff08float\uff09\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u3068\u4f7f\u3044\u5206\u3051\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3059\u308b\u3002 Python\u306e\u6570\u5024\u578b\u306e\u57fa\u672c\u6982\u5ff5 Python\u306b\u306f\u4e3b\u306b2\u3064\u306e\u6570\u5024\u578b\u304c\u5b58\u5728\u3059\u308b\u3002\u6574\u6570\u578b\uff08int\uff09\u3068\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5047,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_uag_custom_page_level_css":"","_uf_show_specific_survey":0,"_uf_disable_surveys":false,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[9,219],"tags":[58,57,56,14,51],"class_list":{"0":"post-319","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-python","8":"category-it-programming","9":"tag-complex","10":"tag-float","11":"tag-int","12":"tag-python","13":"tag-51","14":"entry"},"uagb_featured_image_src":{"full":["https:\/\/www.nblog09.com\/w\/wp-content\/uploads\/2018\/12\/Python-3.png",812,583,false],"thumbnail":["https:\/\/www.nblog09.com\/w\/wp-content\/uploads\/2018\/12\/Python-3-150x150.png",150,150,true],"medium":["https:\/\/www.nblog09.com\/w\/wp-content\/uploads\/2018\/12\/Python-3-300x215.png",300,215,true],"medium_large":["https:\/\/www.nblog09.com\/w\/wp-content\/uploads\/2018\/12\/Python-3-768x551.png",768,551,true],"large":["https:\/\/www.nblog09.com\/w\/wp-content\/uploads\/2018\/12\/Python-3.png",812,583,false],"1536x1536":["https:\/\/www.nblog09.com\/w\/wp-content\/uploads\/2018\/12\/Python-3.png",812,583,false],"2048x2048":["https:\/\/www.nblog09.com\/w\/wp-content\/uploads\/2018\/12\/Python-3.png",812,583,false],"home-middle":["https:\/\/www.nblog09.com\/w\/wp-content\/uploads\/2018\/12\/Python-3-630x350.png",630,350,true],"home-top":["https:\/\/www.nblog09.com\/w\/wp-content\/uploads\/2018\/12\/Python-3-750x420.png",750,420,true],"sidebar-thumbnail":["https:\/\/www.nblog09.com\/w\/wp-content\/uploads\/2018\/12\/Python-3-100x100.png",100,100,true]},"uagb_author_info":{"display_name":"9nmatsumoto","author_link":"https:\/\/www.nblog09.com\/w\/author\/9nmatsumoto\/"},"uagb_comment_info":4,"uagb_excerpt":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u6574\u6570\u578b\uff08int\uff09\u3068\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b\uff08float\uff09\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u3068\u4f7f\u3044\u5206\u3051\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3059\u308b\u3002&hellip;","_links":{"self":[{"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/posts\/319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/comments?post=319"}],"version-history":[{"count":45,"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/posts\/319\/revisions"}],"predecessor-version":[{"id":4964,"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/posts\/319\/revisions\/4964"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/media\/5047"}],"wp:attachment":[{"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/media?parent=319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/categories?post=319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/tags?post=319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}