{"id":44048,"date":"2025-08-06T17:20:53","date_gmt":"2025-08-06T08:20:53","guid":{"rendered":"https:\/\/techgym.jp\/?p=44048"},"modified":"2025-10-20T00:13:22","modified_gmt":"2025-10-19T15:13:22","slug":"python-fractions","status":"publish","type":"post","link":"https:\/\/techgym.jp\/column\/python-fractions\/","title":{"rendered":"Python\u306efractions\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u5206\u6570\uff08\u6709\u7406\u6570\uff09\u8a08\u7b97\u3092\u30de\u30b9\u30bf\u30fc\u3010\u5b8c\u5168\u30ac\u30a4\u30c9\u3011"},"content":{"rendered":"\n<p><iframe loading=\"lazy\" width=\"560\" height=\"314\" src=\"\/\/www.youtube.com\/embed\/7iX9nAJE0cE\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>Python\u306efractions\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u3048\u3070\u3001\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u306e\u8aa4\u5dee\u3092\u907f\u3051\u3066\u6b63\u78ba\u306a\u5206\u6570\u8a08\u7b97\u304c\u53ef\u80fd\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001fractions\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u4f7f\u3044\u65b9\u3092\u5b9f\u8df5\u7684\u306a\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3068\u5171\u306b\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n<h2>fractions\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u306f<\/h2>\n<p>fractions\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u3001\u5206\u6570\uff08\u6709\u7406\u6570\uff09\u3092\u6b63\u78ba\u306b\u8868\u73fe\u30fb\u8a08\u7b97\u3059\u308b\u305f\u3081\u306ePython\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u3067\u306f\u8868\u73fe\u3067\u304d\u306a\u3044\u6b63\u78ba\u306a\u5206\u6570\u8a08\u7b97\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u306e\u554f\u984c\u70b9<\/h3>\n<pre><code class=\"language-python\"># \u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u306e\u8aa4\u5dee\u4f8b\nresult = 0.1 + 0.2\nprint(result)  # 0.30000000000000004\uff08\u671f\u5f85\u5024: 0.3\uff09\n\n# \u5206\u6570\u3067\u306e\u6b63\u78ba\u306a\u8a08\u7b97\nfrom fractions import Fraction\nfrac_result = Fraction(1, 10) + Fraction(2, 10)\nprint(frac_result)  # 3\/10\n<\/code><\/pre>\n<h2>Fraction\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210<\/h2>\n<h3>\u57fa\u672c\u7684\u306a\u4f5c\u6210\u65b9\u6cd5<\/h3>\n<pre><code class=\"language-python\">from fractions import Fraction\n\n# \u6574\u6570\u304b\u3089\u5206\u6570\u3092\u4f5c\u6210\nf1 = Fraction(3)        # 3\/1\nf2 = Fraction(3, 4)     # 3\/4\nf3 = Fraction(-2, 5)    # -2\/5\n\n# \u6587\u5b57\u5217\u304b\u3089\u5206\u6570\u3092\u4f5c\u6210\nf4 = Fraction('1\/2')    # 1\/2\nf5 = Fraction('0.25')   # 1\/4\nf6 = Fraction('3.14')   # 157\/50\n<\/code><\/pre>\n<h3>\u81ea\u52d5\u7d04\u5206\u6a5f\u80fd<\/h3>\n<pre><code class=\"language-python\">from fractions import Fraction\n\n# \u81ea\u52d5\u7684\u306b\u7d04\u5206\u3055\u308c\u308b\nf1 = Fraction(6, 9)     # 2\/3\nf2 = Fraction(15, 25)   # 3\/5\nf3 = Fraction(100, 200) # 1\/2\n\nprint(f1)  # 2\/3\nprint(f2)  # 3\/5\nprint(f3)  # 1\/2\n<\/code><\/pre>\n<h2>\u5206\u6570\u306e\u56db\u5247\u6f14\u7b97<\/h2>\n<h3>\u52a0\u7b97\u30fb\u6e1b\u7b97<\/h3>\n<pre><code class=\"language-python\">from fractions import Fraction\n\nf1 = Fraction(1, 3)\nf2 = Fraction(1, 6)\n\n# \u52a0\u7b97\nsum_result = f1 + f2    # 1\/3 + 1\/6 = 1\/2\nprint(sum_result)       # 1\/2\n\n# \u6e1b\u7b97\ndiff_result = f1 - f2   # 1\/3 - 1\/6 = 1\/6\nprint(diff_result)      # 1\/6\n<\/code><\/pre>\n<h3>\u4e57\u7b97\u30fb\u9664\u7b97<\/h3>\n<pre><code class=\"language-python\">from fractions import Fraction\n\nf1 = Fraction(2, 3)\nf2 = Fraction(3, 4)\n\n# \u4e57\u7b97\nproduct = f1 * f2       # 2\/3 * 3\/4 = 1\/2\nprint(product)          # 1\/2\n\n# \u9664\u7b97\nquotient = f1 \/ f2      # 2\/3 \u00f7 3\/4 = 8\/9\nprint(quotient)         # 8\/9\n<\/code><\/pre>\n<h3>\u3079\u304d\u4e57\u6f14\u7b97<\/h3>\n<pre><code class=\"language-python\">from fractions import Fraction\n\nf = Fraction(2, 3)\n\n# \u3079\u304d\u4e57\npower_result = f ** 2   # (2\/3)^2 = 4\/9\nprint(power_result)     # 4\/9\n\n# \u8ca0\u306e\u3079\u304d\u4e57\uff08\u9006\u6570\uff09\ninverse = f ** -1       # (2\/3)^-1 = 3\/2\nprint(inverse)          # 3\/2\n<\/code><\/pre>\n<h2>\u5206\u6570\u3068\u4ed6\u306e\u6570\u5024\u578b\u3068\u306e\u6f14\u7b97<\/h2>\n<h3>\u6574\u6570\u3068\u306e\u6f14\u7b97<\/h3>\n<pre><code class=\"language-python\">from fractions import Fraction\n\nf = Fraction(3, 4)\n\n# \u6574\u6570\u3068\u306e\u52a0\u7b97\nresult1 = f + 2         # 3\/4 + 2 = 11\/4\nprint(result1)          # 11\/4\n\n# \u6574\u6570\u3068\u306e\u4e57\u7b97\nresult2 = f * 3         # 3\/4 * 3 = 9\/4\nprint(result2)          # 9\/4\n<\/code><\/pre>\n<h3>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u3068\u306e\u6f14\u7b97<\/h3>\n<pre><code class=\"language-python\">from fractions import Fraction\n\nf = Fraction(1, 2)\n\n# \u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u3068\u306e\u6f14\u7b97\uff08\u7d50\u679c\u306f\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\uff09\nresult = f + 0.25       # 0.75\nprint(result)           # 0.75\nprint(type(result))     # &lt;class 'float'&gt;\n<\/code><\/pre>\n<h2>\u5206\u6570\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u30e1\u30bd\u30c3\u30c9<\/h2>\n<h3>\u57fa\u672c\u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<pre><code class=\"language-python\">from fractions import Fraction\n\nf = Fraction(3, 4)\n\n# \u5206\u5b50\u3068\u5206\u6bcd\u306e\u53d6\u5f97\nnumerator = f.numerator     # 3\ndenominator = f.denominator # 4\n\nprint(f\"\u5206\u5b50: {numerator}\")\nprint(f\"\u5206\u6bcd: {denominator}\")\n<\/code><\/pre>\n<h3>limit_denominator()\u30e1\u30bd\u30c3\u30c9<\/h3>\n<pre><code class=\"language-python\">from fractions import Fraction\nimport math\n\n# \u5186\u5468\u7387\u306e\u8fd1\u4f3c\u5206\u6570\npi_approx = Fraction(math.pi).limit_denominator(100)\nprint(pi_approx)        # 22\/7\n\n# \u3088\u308a\u7cbe\u5bc6\u306a\u8fd1\u4f3c\npi_precise = Fraction(math.pi).limit_denominator(1000)\nprint(pi_precise)       # 355\/113\n<\/code><\/pre>\n<h2>\u5206\u6570\u306e\u6bd4\u8f03\u6f14\u7b97<\/h2>\n<h3>\u5927\u5c0f\u6bd4\u8f03<\/h3>\n<pre><code class=\"language-python\">from fractions import Fraction\n\nf1 = Fraction(1, 2)\nf2 = Fraction(3, 4)\nf3 = Fraction(2, 4)  # 1\/2\u3068\u540c\u3058\n\n# \u6bd4\u8f03\u6f14\u7b97\nprint(f1 &lt; f2)   # True\nprint(f1 == f3)  # True\nprint(f2 &gt; f1)   # True\n<\/code><\/pre>\n<h3>\u30bd\u30fc\u30c8<\/h3>\n<pre><code class=\"language-python\">from fractions import Fraction\n\nfractions_list = [\n    Fraction(3, 4),\n    Fraction(1, 2),\n    Fraction(5, 6),\n    Fraction(1, 3)\n]\n\n# \u30bd\u30fc\u30c8\nsorted_fractions = sorted(fractions_list)\nprint(sorted_fractions)\n# [Fraction(1, 3), Fraction(1, 2), Fraction(3, 4), Fraction(5, 6)]\n<\/code><\/pre>\n<h2>\u5b9f\u8df5\u7684\u306a\u5fdc\u7528\u4f8b<\/h2>\n<h3>\u5206\u6570\u306e\u5e73\u5747\u5024\u8a08\u7b97<\/h3>\n<pre><code class=\"language-python\">from fractions import Fraction\n\ndef fraction_average(*fractions):\n    total = sum(fractions)\n    return total \/ len(fractions)\n\n# \u5206\u6570\u306e\u30ea\u30b9\u30c8\u306e\u5e73\u5747\nfracs = [Fraction(1, 2), Fraction(1, 3), Fraction(1, 4)]\navg = fraction_average(*fracs)\nprint(avg)  # 13\/36\n<\/code><\/pre>\n<h3>\u9023\u5206\u6570\u306e\u8a08\u7b97<\/h3>\n<pre><code class=\"language-python\">from fractions import Fraction\n\ndef continued_fraction_to_fraction(cf_list):\n    if not cf_list:\n        return Fraction(0)\n    \n    result = Fraction(cf_list[-1])\n    for i in range(len(cf_list) - 2, -1, -1):\n        result = Fraction(cf_list[i]) + 1\/result\n    \n    return result\n\n# \u9ec4\u91d1\u6bd4\u306e\u9023\u5206\u6570\u8fd1\u4f3c [1; 1, 1, 1, 1]\ngolden_ratio = continued_fraction_to_fraction([1, 1, 1, 1, 1])\nprint(golden_ratio)  # 8\/5\n<\/code><\/pre>\n<h3>\u5206\u6570\u304b\u3089\u5c0f\u6570\u3078\u306e\u5909\u63db\u5236\u5fa1<\/h3>\n<pre><code class=\"language-python\">from fractions import Fraction\nfrom decimal import Decimal, getcontext\n\n# \u7cbe\u5ea6\u3092\u8a2d\u5b9a\ngetcontext().prec = 28\n\nf = Fraction(1, 3)\n\n# \u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u3078\u306e\u5909\u63db\nfloat_val = float(f)\nprint(float_val)    # 0.3333333333333333\n\n# Decimal\u3078\u306e\u5909\u63db\uff08\u9ad8\u7cbe\u5ea6\uff09\ndecimal_val = Decimal(f.numerator) \/ Decimal(f.denominator)\nprint(decimal_val)  # 0.3333333333333333333333333333\n<\/code><\/pre>\n<h2>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3068\u6ce8\u610f\u70b9<\/h2>\n<h3>\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf<\/h3>\n<pre><code class=\"language-python\">from fractions import Fraction\nimport sys\n\nf1 = 0.5                        # float\nf2 = Fraction(1, 2)             # Fraction\n\nprint(f\"float size: {sys.getsizeof(f1)}\")     # 24 bytes\nprint(f\"Fraction size: {sys.getsizeof(f2)}\")  # 32 bytes\n<\/code><\/pre>\n<h3>\u6f14\u7b97\u901f\u5ea6\u306e\u6bd4\u8f03<\/h3>\n<pre><code class=\"language-python\">from fractions import Fraction\nimport time\n\n# float\u6f14\u7b97\nstart = time.time()\nresult_float = 0.0\nfor i in range(10000):\n    result_float += 0.1\nend = time.time()\nprint(f\"Float\u6642\u9593: {end - start:.6f}\u79d2\")\n\n# Fraction\u6f14\u7b97\nstart = time.time()\nresult_frac = Fraction(0)\nfrac_tenth = Fraction(1, 10)\nfor i in range(10000):\n    result_frac += frac_tenth\nend = time.time()\nprint(f\"Fraction\u6642\u9593: {end - start:.6f}\u79d2\")\n<\/code><\/pre>\n<h2>\u6570\u5b66\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u306e\u9023\u643a<\/h2>\n<h3>math\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u306e\u7d44\u307f\u5408\u308f\u305b<\/h3>\n<pre><code class=\"language-python\">from fractions import Fraction\nimport math\n\n# \u4e09\u89d2\u95a2\u6570\u306e\u7d50\u679c\u3092\u5206\u6570\u3067\u8fd1\u4f3c\nangle_frac = Fraction(1, 4)  # \u03c0\/4\u306e\u4ee3\u308f\u308a\nsin_approx = Fraction(math.sin(float(angle_frac * math.pi))).limit_denominator(100)\nprint(sin_approx)  # 71\/100 (\u2248 0.71)\n<\/code><\/pre>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Python\u306efractions\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u4ee5\u4e0b\u306e\u5834\u9762\u3067\u7279\u306b\u6709\u7528\u3067\u3059\uff1a<\/p>\n<ul>\n<li>\u91d1\u878d\u8a08\u7b97\u3067\u306e\u6b63\u78ba\u306a\u5c0f\u6570\u70b9\u8a08\u7b97<\/li>\n<li>\u6570\u5b66\u7684\u306a\u8a3c\u660e\u3067\u306e\u53b3\u5bc6\u306a\u5206\u6570\u6f14\u7b97<\/li>\n<li>\u6559\u80b2\u7528\u9014\u3067\u306e\u5206\u6570\u306e\u8996\u899a\u5316<\/li>\n<li>\u79d1\u5b66\u8a08\u7b97\u3067\u306e\u8aa4\u5dee\u306e\u6700\u5c0f\u5316<\/li>\n<\/ul>\n<p>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u3067\u306f\u8868\u73fe\u3067\u304d\u306a\u3044\u6b63\u78ba\u306a\u5206\u6570\u8a08\u7b97\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001\u305c\u3072fractions\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u6d3b\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u91cd\u8981\u3067\u306a\u3044\u5834\u9762\u3067\u306f\u3001\u305d\u306e\u7cbe\u5ea6\u306e\u9ad8\u3055\u304c\u5927\u304d\u306a\u5229\u70b9\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u25a0<a href=\"https:\/\/amzn.to\/3VxGkpx\">\u3089\u304f\u3089\u304fPython\u587e &#8211; \u8aad\u3080\u3060\u3051\u3067\u30de\u30b9\u30bf\u30fc<\/a><\/h2>\n\n\n\n<p><iframe loading=\"lazy\" width=\"560\" height=\"314\" src=\"\/\/www.youtube.com\/embed\/7iX9nAJE0cE\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/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=\"ql6mMZAlDL\"><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=m7sb1Hm4PG#?secret=ql6mMZAlDL\" data-secret=\"ql6mMZAlDL\" 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=\"pus6wL22Em\"><a href=\"https:\/\/techgym.jp\/about\/ai-driven-development\/\">AI\u99c6\u52d5\u958b\u767a\/\u751f\u6210AI\u30a8\u30f3\u30b8\u30cb\u30a2\u30b3\u30fc\u30b9\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\u99c6\u52d5\u958b\u767a\/\u751f\u6210AI\u30a8\u30f3\u30b8\u30cb\u30a2\u30b3\u30fc\u30b9\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=nFOoBCHupX#?secret=pus6wL22Em\" data-secret=\"pus6wL22Em\" 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=\"sV51ZPMTVw\"><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=vndRVt4QdK#?secret=sV51ZPMTVw\" data-secret=\"sV51ZPMTVw\" 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=\"Vk96afKFvr\"><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=ZB0OBI7Ilz#?secret=Vk96afKFvr\" data-secret=\"Vk96afKFvr\" 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=\"fn5DxbilX5\"><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=9SDOFtXEmK#?secret=fn5DxbilX5\" data-secret=\"fn5DxbilX5\" 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=\"2Ki9KceIj6\"><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=i2KdolYjV6#?secret=2Ki9KceIj6\" data-secret=\"2Ki9KceIj6\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Python\u306efractions\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u3048\u3070\u3001\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u306e\u8aa4\u5dee\u3092\u907f\u3051\u3066\u6b63\u78ba\u306a\u5206\u6570\u8a08\u7b97\u304c\u53ef\u80fd\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001fractions\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u4f7f\u3044\u65b9\u3092\u5b9f\u8df5\u7684\u306a\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3068\u5171\u306b\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002 fraction [&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-44048","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-column"],"views":73,"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\/44048","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=44048"}],"version-history":[{"count":0,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/44048\/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=44048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/categories?post=44048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/tags?post=44048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}