{"id":42978,"date":"2025-07-29T10:59:38","date_gmt":"2025-07-29T01:59:38","guid":{"rendered":"https:\/\/techgym.jp\/?p=42978"},"modified":"2025-07-29T10:59:42","modified_gmt":"2025-07-29T01:59:42","slug":"python-math-floor","status":"publish","type":"post","link":"https:\/\/techgym.jp\/column\/python-math-floor\/","title":{"rendered":"Python math.floor()\u306e\u5b8c\u5168\u30ac\u30a4\u30c9\uff1a\u5207\u308a\u4e0b\u3052\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac"},"content":{"rendered":"\n<p>\u00a0<\/p>\n<p>Python\u3067\u6570\u5024\u3092\u5207\u308a\u4e0b\u3052\u308b\u969b\u306b\u4f7f\u7528\u3055\u308c\u308b<code>math.floor()<\/code>\u95a2\u6570\u306f\u3001\u30c7\u30fc\u30bf\u51e6\u7406\u3084\u6570\u5024\u8a08\u7b97\u306b\u304a\u3044\u3066\u975e\u5e38\u306b\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u5207\u308a\u6368\u3066\u3066\u6574\u6570\u5024\u3092\u53d6\u5f97\u3059\u308b\u57fa\u672c\u7684\u306a\u6a5f\u80fd\u304b\u3089\u3001\u5b9f\u969b\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u306e\u5fdc\u7528\u307e\u3067\u5e45\u5e83\u304f\u6d3b\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001Python\u521d\u5fc3\u8005\u304b\u3089\u4e2d\u7d1a\u8005\u307e\u3067\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u3001math.floor()\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u5b9f\u8df5\u7684\u306a\u5fdc\u7528\u4f8b\u307e\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<h2>math.floor()\u3068\u306f<\/h2>\n<p>math.floor()\u306f\u3001\u5f15\u6570\u3068\u3057\u3066\u4e0e\u3048\u3089\u308c\u305f\u6570\u5024\u4ee5\u4e0b\u306e\u6700\u5927\u306e\u6574\u6570\u3092\u8fd4\u3059\u95a2\u6570\u3067\u3059\u3002\u3064\u307e\u308a\u3001\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u5207\u308a\u4e0b\u3052\u3066\u6574\u6570\u5024\u306b\u3059\u308b\u51e6\u7406\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<h3>\u57fa\u672c\u69cb\u6587<\/h3>\n<pre><code class=\"language-python\">import math\nresult = math.floor(\u6570\u5024)\n<\/code><\/pre>\n<h2>\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/h2>\n<h3>\u6b63\u306e\u6570\u306e\u5207\u308a\u4e0b\u3052<\/h3>\n<pre><code class=\"language-python\">import math\nprint(math.floor(4.7))   # 4\nprint(math.floor(4.1))   # 4\nprint(math.floor(4.9))   # 4\n<\/code><\/pre>\n<h3>\u8ca0\u306e\u6570\u306e\u5207\u308a\u4e0b\u3052<\/h3>\n<pre><code class=\"language-python\">import math\nprint(math.floor(-4.1))  # -5\nprint(math.floor(-4.7))  # -5\nprint(math.floor(-4.9))  # -5\n<\/code><\/pre>\n<h3>\u6574\u6570\u306e\u5834\u5408<\/h3>\n<pre><code class=\"language-python\">import math\nprint(math.floor(5))     # 5\nprint(math.floor(-3))    # -3\n<\/code><\/pre>\n<h2>\u4ed6\u306e\u5207\u308a\u6368\u3066\u65b9\u6cd5\u3068\u306e\u9055\u3044<\/h2>\n<h3>int()\u95a2\u6570\u3068\u306e\u6bd4\u8f03<\/h3>\n<pre><code class=\"language-python\">import math\nprint(f\"math.floor(4.7): {math.floor(4.7)}\")  # 4\nprint(f\"int(4.7): {int(4.7)}\")                # 4\nprint(f\"math.floor(-4.7): {math.floor(-4.7)}\")# -5\nprint(f\"int(-4.7): {int(-4.7)}\")              # -4\n<\/code><\/pre>\n<h3>math.ceil()\u3068\u306e\u6bd4\u8f03<\/h3>\n<pre><code class=\"language-python\">import math\nprint(f\"floor(4.2): {math.floor(4.2)}\")  # 4\uff08\u5207\u308a\u4e0b\u3052\uff09\nprint(f\"ceil(4.2): {math.ceil(4.2)}\")    # 5\uff08\u5207\u308a\u4e0a\u3052\uff09\n<\/code><\/pre>\n<h3>math.trunc()\u3068\u306e\u6bd4\u8f03<\/h3>\n<pre><code class=\"language-python\">import math\nprint(f\"floor(-4.7): {math.floor(-4.7)}\")  # -5\nprint(f\"trunc(-4.7): {math.trunc(-4.7)}\")  # -4\uff080\u306b\u5411\u304b\u3063\u3066\u5207\u308a\u6368\u3066\uff09\n<\/code><\/pre>\n<h2>\u5b9f\u8df5\u7684\u306a\u4f7f\u7528\u4f8b<\/h2>\n<h3>\u30da\u30fc\u30b8\u30f3\u30b0\u51e6\u7406<\/h3>\n<pre><code class=\"language-python\">import math\ntotal_items = 47\nitems_per_page = 10\npages = math.floor(total_items \/ items_per_page) + 1\nprint(f\"\u5fc5\u8981\u30da\u30fc\u30b8\u6570: {pages}\")  # 5\n<\/code><\/pre>\n<h3>\u6642\u9593\u8a08\u7b97<\/h3>\n<pre><code class=\"language-python\">import math\nseconds = 3725\nhours = math.floor(seconds \/ 3600)\nminutes = math.floor((seconds % 3600) \/ 60)\nprint(f\"{hours}\u6642\u9593{minutes}\u5206\")  # 1\u6642\u95932\u5206\n<\/code><\/pre>\n<h3>\u4fa1\u683c\u8a08\u7b97<\/h3>\n<pre><code class=\"language-python\">import math\nprice = 1234.56\ndiscount_rate = 0.15\ndiscounted = price * (1 - discount_rate)\nfinal_price = math.floor(discounted)\nprint(f\"\u5272\u5f15\u5f8c\u4fa1\u683c: {final_price}\u5186\")  # 1049\u5186\n<\/code><\/pre>\n<h2>\u30c7\u30fc\u30bf\u51e6\u7406\u3067\u306e\u6d3b\u7528<\/h2>\n<h3>\u30ea\u30b9\u30c8\u306e\u8981\u7d20\u51e6\u7406<\/h3>\n<pre><code class=\"language-python\">import math\nprices = [99.9, 199.7, 299.3, 399.8]\nfloor_prices = [math.floor(price) for price in prices]\nprint(floor_prices)  # [99, 199, 299, 399]\n<\/code><\/pre>\n<h3>\u7d71\u8a08\u30c7\u30fc\u30bf\u306e\u51e6\u7406<\/h3>\n<pre><code class=\"language-python\">import math\nscores = [85.6, 92.3, 78.9, 88.1]\nfloor_scores = list(map(math.floor, scores))\nprint(f\"\u5207\u308a\u4e0b\u3052\u5f8c: {floor_scores}\")  # [85, 92, 78, 88]\n<\/code><\/pre>\n<h3>\u30c7\u30fc\u30bf\u30d3\u30cb\u30f3\u30b0\uff08\u533a\u9593\u5206\u5272\uff09<\/h3>\n<pre><code class=\"language-python\">import math\ndef create_bins(value, bin_size):\n    return math.floor(value \/ bin_size) * bin_size\n\nages = [23, 35, 47, 52, 68]\nage_bins = [create_bins(age, 10) for age in ages]\nprint(age_bins)  # [20, 30, 40, 50, 60]\n<\/code><\/pre>\n<h2>\u6570\u5b66\u7684\u5fdc\u7528<\/h2>\n<h3>\u5ea7\u6a19\u306e\u683c\u5b50\u70b9\u8a08\u7b97<\/h3>\n<pre><code class=\"language-python\">import math\ndef snap_to_grid(x, y, grid_size):\n    grid_x = math.floor(x \/ grid_size) * grid_size\n    grid_y = math.floor(y \/ grid_size) * grid_size\n    return grid_x, grid_y\n\nresult = snap_to_grid(23.7, 45.2, 10)\nprint(result)  # (20, 40)\n<\/code><\/pre>\n<h3>\u78ba\u7387\u8a08\u7b97<\/h3>\n<pre><code class=\"language-python\">import math\nsuccess_rate = 0.847\npercentage = math.floor(success_rate * 100)\nprint(f\"\u6210\u529f\u7387: {percentage}%\")  # 84%\n<\/code><\/pre>\n<h2>\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0<\/h2>\n<h3>TypeError \u306e\u5bfe\u51e6<\/h3>\n<pre><code class=\"language-python\">import math\ntry:\n    result = math.floor(\"3.14\")  # \u30a8\u30e9\u30fc\u767a\u751f\nexcept TypeError as e:\n    print(\"\u6570\u5024\u4ee5\u5916\u306f\u51e6\u7406\u3067\u304d\u307e\u305b\u3093\")\n<\/code><\/pre>\n<h3>\u7279\u6b8a\u5024\u306e\u51e6\u7406<\/h3>\n<pre><code class=\"language-python\">import math\nprint(math.floor(math.inf))   # OverflowError\nprint(math.floor(-math.inf))  # OverflowError\nprint(math.isnan(math.floor(float('nan'))))  # True\n<\/code><\/pre>\n<h2>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u8003\u616e<\/h2>\n<h3>\u5927\u91cf\u30c7\u30fc\u30bf\u51e6\u7406<\/h3>\n<pre><code class=\"language-python\">import math\nimport time\n\n# math.floor()\u3092\u4f7f\u7528\ndata = [i + 0.7 for i in range(100000)]\nstart = time.time()\nresult1 = [math.floor(x) for x in data]\ntime1 = time.time() - start\n<\/code><\/pre>\n<h3>NumPy\u3068\u306e\u6bd4\u8f03<\/h3>\n<pre><code class=\"language-python\">import math\nimport numpy as np\n\n# \u5c0f\u898f\u6a21\u30c7\u30fc\u30bf: math.floor()\u304c\u52b9\u7387\u7684\nsmall_data = [3.7, 4.2, 5.9]\nresult = [math.floor(x) for x in small_data]\n\n# \u5927\u898f\u6a21\u30c7\u30fc\u30bf: NumPy\u304c\u52b9\u7387\u7684\nlarge_data = np.array([3.7, 4.2, 5.9] * 1000)\nresult = np.floor(large_data)\n<\/code><\/pre>\n<h2>\u3088\u304f\u3042\u308b\u4f7f\u7528\u30d1\u30bf\u30fc\u30f3<\/h2>\n<h3>\u6841\u6570\u306e\u8abf\u6574<\/h3>\n<pre><code class=\"language-python\">import math\ndef floor_to_decimal(value, decimals):\n    multiplier = 10 ** decimals\n    return math.floor(value * multiplier) \/ multiplier\n\nresult = floor_to_decimal(3.14159, 2)\nprint(result)  # 3.14\n<\/code><\/pre>\n<h3>\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u8a08\u7b97<\/h3>\n<pre><code class=\"language-python\">import math\ndef get_page_items(items, page, per_page):\n    start_index = page * per_page\n    end_index = min(start_index + per_page, len(items))\n    page_count = math.floor(len(items) \/ per_page) + 1\n    return items[start_index:end_index], page_count\n<\/code><\/pre>\n<h3>\u7bc4\u56f2\u30c1\u30a7\u30c3\u30af<\/h3>\n<pre><code class=\"language-python\">import math\ndef is_in_range(value, min_val, max_val):\n    floored_value = math.floor(value)\n    return min_val &lt;= floored_value &lt;= max_val\n\nresult = is_in_range(5.8, 1, 10)\nprint(result)  # True\n<\/code><\/pre>\n<h2>\u5b9f\u969b\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306e\u6d3b\u7528<\/h2>\n<h3>\u30b2\u30fc\u30e0\u958b\u767a<\/h3>\n<pre><code class=\"language-python\">import math\ndef calculate_level(experience):\n    return math.floor(experience \/ 1000) + 1\n\nplayer_exp = 2750\nlevel = calculate_level(player_exp)\nprint(f\"\u30d7\u30ec\u30a4\u30e4\u30fc\u30ec\u30d9\u30eb: {level}\")  # 3\n<\/code><\/pre>\n<h3>\u91d1\u878d\u8a08\u7b97<\/h3>\n<pre><code class=\"language-python\">import math\ndef calculate_installment(principal, rate, periods):\n    monthly_payment = principal * rate \/ (1 - (1 + rate) ** -periods)\n    return math.floor(monthly_payment)\n\npayment = calculate_installment(1000000, 0.005, 60)\nprint(f\"\u6708\u3005\u306e\u652f\u6255\u3044: {payment}\u5186\")\n<\/code><\/pre>\n<h2>\u30c7\u30d0\u30c3\u30b0\u3068\u30c6\u30b9\u30c8<\/h2>\n<h3>\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u4f8b<\/h3>\n<pre><code class=\"language-python\">import math\nimport unittest\n\nclass TestMathFloor(unittest.TestCase):\n    def test_positive_numbers(self):\n        self.assertEqual(math.floor(4.7), 4)\n    \n    def test_negative_numbers(self):\n        self.assertEqual(math.floor(-4.7), -5)\n<\/code><\/pre>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>math.floor()\u306f\u3001Python\u3067\u6570\u5024\u3092\u5207\u308a\u4e0b\u3052\u308b\u969b\u306e\u6a19\u6e96\u7684\u306a\u95a2\u6570\u3067\u3059\u3002\u5358\u7d14\u306a\u5c0f\u6570\u70b9\u5207\u308a\u6368\u3066\u304b\u3089\u3001\u30c7\u30fc\u30bf\u51e6\u7406\u3001\u30da\u30fc\u30b8\u30f3\u30b0\u3001\u5ea7\u6a19\u8a08\u7b97\u307e\u3067\u5e45\u5e83\u3044\u7528\u9014\u3067\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u91cd\u8981\u306a\u30dd\u30a4\u30f3\u30c8\uff1a<\/p>\n<ul>\n<li>\u8ca0\u306e\u6570\u3067\u306f\u671f\u5f85\u3068\u7570\u306a\u308b\u7d50\u679c\u306b\u306a\u308b\u5834\u5408\u304c\u3042\u308b<\/li>\n<li>int()\u95a2\u6570\u3068\u306f\u52d5\u4f5c\u304c\u7570\u306a\u308b<\/li>\n<li>\u5927\u91cf\u30c7\u30fc\u30bf\u51e6\u7406\u3067\u306fNumPy\u3068\u306e\u4f7f\u3044\u5206\u3051\u3092\u691c\u8a0e<\/li>\n<li>\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u3092\u9069\u5207\u306b\u5b9f\u88c5<\/li>\n<\/ul>\n<p>\u672c\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305f\u69d8\u3005\u306a\u4f7f\u7528\u4f8b\u3092\u53c2\u8003\u306b\u3001\u5b9f\u969b\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067math.floor()\u3092\u52b9\u679c\u7684\u306b\u6d3b\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30c7\u30fc\u30bf\u51e6\u7406\u3084\u6570\u5024\u8a08\u7b97\u306b\u304a\u3044\u3066\u3001\u3088\u308a\u6b63\u78ba\u3067\u52b9\u7387\u7684\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3067\u304d\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u25a0\u30d7\u30ed\u30f3\u30d7\u30c8\u3060\u3051\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u30a2\u30d7\u30ea\u3092\u958b\u767a\u30fb\u516c\u958b\u3057\u3066\u307f\u305f\uff01\uff01<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"rHqsCGrF2c\"><a href=\"https:\/\/techgym.jp\/column\/ori-app\/\">\u30d7\u30ed\u30f3\u30d7\u30c8\u3060\u3051\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u30a2\u30d7\u30ea\u3092\u958b\u767a\u30fb\u516c\u958b\u3057\u3066\u307f\u305f\uff01\uff01<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u30d7\u30ed\u30f3\u30d7\u30c8\u3060\u3051\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u30a2\u30d7\u30ea\u3092\u958b\u767a\u30fb\u516c\u958b\u3057\u3066\u307f\u305f\uff01\uff01&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/column\/ori-app\/embed\/#?secret=th85g8u1y0#?secret=rHqsCGrF2c\" data-secret=\"rHqsCGrF2c\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u25a0AI\u6642\u4ee3\u306e\u7b2c\u4e00\u6b69\uff01\u300cAI\u99c6\u52d5\u958b\u767a\u30b3\u30fc\u30b9\u300d\u306f\u3058\u3081\u307e\u3057\u305f\uff01<\/p>\n\n\n\n<p>\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821\u3067\u5148\u884c\u958b\u59cb\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"sVJ5Wq4G2A\"><a href=\"https:\/\/techgym.jp\/about\/ai-driven-development\/\">AI\u6642\u4ee3\u306e\u7b2c\u4e00\u6b69\uff01\u300cAI\u99c6\u52d5\u958b\u767a\u30b3\u30fc\u30b9\u300d\uff08\u521d\u5fc3\u8005\u5411\u3051\uff09<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;AI\u6642\u4ee3\u306e\u7b2c\u4e00\u6b69\uff01\u300cAI\u99c6\u52d5\u958b\u767a\u30b3\u30fc\u30b9\u300d\uff08\u521d\u5fc3\u8005\u5411\u3051\uff09&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/about\/ai-driven-development\/embed\/#?secret=jWKMcX09ed#?secret=sVJ5Wq4G2A\" data-secret=\"sVJ5Wq4G2A\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u25a0\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821<\/p>\n\n\n\n<p>\u300c\u6b66\u7530\u587e\u300d\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u7248\u3068\u3044\u3048\u3070\u300c\u30c6\u30c3\u30af\u30b8\u30e0\u300d\u3002<br>\u8b1b\u7fa9\u52d5\u753b\u306a\u3057\u3001\u6559\u79d1\u66f8\u306a\u3057\u3002\u300c\u9032\u6357\u7ba1\u7406\u3068\u30b3\u30fc\u30c1\u30f3\u30b0\u300d\u3067\u52b9\u7387\u5b66\u7fd2\u3002<br>\u3088\u308a\u65e9\u304f\u3001\u3088\u308a\u5b89\u304f\u3001\u3057\u304b\u3082\u5bfe\u9762\u578b\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"B8to7rpvfJ\"><a href=\"https:\/\/techgym.jp\/tokyo\/tokyo_honko\/\">\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/tokyo\/tokyo_honko\/embed\/#?secret=L1iNKY2TDb#?secret=B8to7rpvfJ\" data-secret=\"B8to7rpvfJ\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\uff1c\u77ed\u671f\u8b1b\u7fd2\uff1e5\u65e5\u30675\u4e07\u5186\u306e\u300cPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u958b\u50ac\u4e2d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"0WzZ6bCNf0\"><a href=\"https:\/\/techgym.jp\/event\/nagatacho_camp\/\">\u72ec\u5b66\u3082\u30aa\u30f3\u30e9\u30a4\u30f3\u3082\u7121\u7406\u3060\u304b\u3089\u3001\u6709\u7d66\u3068\u3063\u3066\u300cPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u3078\u30105\u65e5\u9593\u30675\u4e07\u5186\u3011<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u72ec\u5b66\u3082\u30aa\u30f3\u30e9\u30a4\u30f3\u3082\u7121\u7406\u3060\u304b\u3089\u3001\u6709\u7d66\u3068\u3063\u3066\u300cPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u3078\u30105\u65e5\u9593\u30675\u4e07\u5186\u3011&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/event\/nagatacho_camp\/embed\/#?secret=UkzRbD2XB2#?secret=0WzZ6bCNf0\" data-secret=\"0WzZ6bCNf0\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\uff1c\u67081\u958b\u50ac\uff1e\u653e\u9001\u4f5c\u5bb6\u306b\u3088\u308b\u6620\u50cf\u30c7\u30a3\u30ec\u30af\u30bf\u30fc\u990a\u6210\u8b1b\u5ea7<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"50SEncsnQt\"><a href=\"https:\/\/techgym.jp\/event\/video_director\/\">\u73fe\u5f79\u653e\u9001\u4f5c\u5bb6\u304c\u6559\u3048\u308b\u52d5\u753b\u8b1b\u5ea7\uff01\u300e\uff24\uff2f\uff27\uff21\u300f<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u73fe\u5f79\u653e\u9001\u4f5c\u5bb6\u304c\u6559\u3048\u308b\u52d5\u753b\u8b1b\u5ea7\uff01\u300e\uff24\uff2f\uff27\uff21\u300f&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/event\/video_director\/embed\/#?secret=EV5dH4sLh4#?secret=50SEncsnQt\" data-secret=\"50SEncsnQt\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\uff1c\u30aa\u30f3\u30e9\u30a4\u30f3\u7121\u6599\uff1e\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"SWbpB4uw0F\"><a href=\"https:\/\/techgym.jp\/tokyo_python\/\">\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7\uff08\u7406\u7cfb\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u521d\u5fc3\u8005\u5411\u3051\uff09<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7\uff08\u7406\u7cfb\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u521d\u5fc3\u8005\u5411\u3051\uff09&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/tokyo_python\/embed\/#?secret=CMDtbs50F7#?secret=SWbpB4uw0F\" data-secret=\"SWbpB4uw0F\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 Python\u3067\u6570\u5024\u3092\u5207\u308a\u4e0b\u3052\u308b\u969b\u306b\u4f7f\u7528\u3055\u308c\u308bmath.floor()\u95a2\u6570\u306f\u3001\u30c7\u30fc\u30bf\u51e6\u7406\u3084\u6570\u5024\u8a08\u7b97\u306b\u304a\u3044\u3066\u975e\u5e38\u306b\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u5207\u308a\u6368\u3066\u3066\u6574\u6570\u5024\u3092\u53d6\u5f97\u3059\u308b\u57fa\u672c\u7684\u306a\u6a5f\u80fd\u304b\u3089\u3001\u5b9f\u969b\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u306e\u5fdc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":42501,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-42978","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-column"],"views":59,"jetpack_featured_media_url":"\/wp-content\/uploads\/2025\/07\/f3403acf5c65aedec0dba821c4c26404.png","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/42978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/comments?post=42978"}],"version-history":[{"count":0,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/42978\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/media\/42501"}],"wp:attachment":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/media?parent=42978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/categories?post=42978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/tags?post=42978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}