{"id":976227,"date":"2024-12-27T06:19:51","date_gmt":"2024-12-26T22:19:51","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/976227.html"},"modified":"2024-12-27T06:19:55","modified_gmt":"2024-12-26T22:19:55","slug":"python%e5%a6%82%e4%bd%95%e6%b1%82%e5%ae%8c%e6%95%b0","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/976227.html","title":{"rendered":"python\u5982\u4f55\u6c42\u5b8c\u6570"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24201113\/8f236a3b-ed8c-41fc-86bf-2173ac5edf21.webp\" alt=\"python\u5982\u4f55\u6c42\u5b8c\u6570\" \/><\/p>\n<p><p> \u4e00\u3001PYTHON\u5982\u4f55\u6c42\u5b8c\u6570<\/p>\n<\/p>\n<p><p>\u8981\u5728Python\u4e2d\u6c42\u5b8c\u6570\uff0c\u53ef\u4ee5<strong>\u901a\u8fc7\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\u6765\u5224\u65ad\u4e00\u4e2a\u6570\u662f\u5426\u4e3a\u5b8c\u6570\u3001\u4f7f\u7528\u5faa\u73af\u6765\u904d\u5386\u4e00\u5b9a\u8303\u56f4\u5185\u7684\u6570\u3001\u4f7f\u7528\u56e0\u6570\u6c42\u548c\u7684\u65b9\u6cd5<\/strong>\u3002\u5b8c\u6570\u662f\u6307\u4e00\u4e2a\u6570\u7b49\u4e8e\u5176\u6240\u6709\u771f\u56e0\u6570\uff08\u9664\u4e86\u5b83\u81ea\u8eab\u4ee5\u5916\u7684\u56e0\u6570\uff09\u4e4b\u548c\u3002\u5e38\u89c1\u7684\u5b8c\u6570\u67096\u300128\u3001496\u7b49\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u63cf\u8ff0\u5982\u4f55\u5b9e\u73b0\u8fd9\u4e00\u8fc7\u7a0b\u3002<\/p>\n<\/p>\n<p><p>\u8981\u5224\u65ad\u4e00\u4e2a\u6570\u662f\u5426\u4e3a\u5b8c\u6570\uff0c\u6211\u4eec\u9996\u5148\u9700\u8981\u627e\u51fa\u8fd9\u4e2a\u6570\u7684\u6240\u6709\u771f\u56e0\u6570\u3002\u8fd9\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u7684\u5faa\u73af\u5b9e\u73b0\uff1a\u4ece1\u5f00\u59cb\u904d\u5386\u5230\u8fd9\u4e2a\u6570\u7684\u4e00\u534a\uff08\u56e0\u4e3a\u4efb\u4f55\u6570\u7684\u56e0\u6570\u90fd\u4e0d\u53ef\u80fd\u5927\u4e8e\u5b83\u7684\u4e00\u534a\uff09\uff0c\u5982\u679c\u5f53\u524d\u7684\u6570\u5b57\u662f\u8be5\u6570\u7684\u56e0\u6570\uff0c\u5c31\u5c06\u5176\u52a0\u5230\u56e0\u6570\u548c\u4e2d\u3002\u6700\u540e\u6bd4\u8f83\u56e0\u6570\u548c\u4e0e\u539f\u6570\uff0c\u5982\u679c\u76f8\u7b49\uff0c\u5219\u8fd9\u4e2a\u6570\u662f\u5b8c\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def is_perfect_number(num):<\/p>\n<p>    if num &lt; 2:<\/p>\n<p>        return False<\/p>\n<p>    sum_of_divisors = 1<\/p>\n<p>    for i in range(2, int(num  0.5) + 1):<\/p>\n<p>        if num % i == 0:<\/p>\n<p>            sum_of_divisors += i<\/p>\n<p>            if i != num \/\/ i:<\/p>\n<p>                sum_of_divisors += num \/\/ i<\/p>\n<p>    return sum_of_divisors == num<\/p>\n<h2><strong>\u627e\u51fa\u4e00\u5b9a\u8303\u56f4\u5185\u7684\u5b8c\u6570<\/strong><\/h2>\n<p>perfect_numbers = [i for i in range(1, 10000) if is_perfect_number(i)]<\/p>\n<p>print(perfect_numbers)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e0a\u9762\u4ee3\u7801\u793a\u4f8b\u5c55\u793a\u4e86\u5982\u4f55\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\u6765\u5224\u65ad\u4e00\u4e2a\u6570\u662f\u5426\u4e3a\u5b8c\u6570\uff0c\u5e76\u5217\u51fa\u4e00\u5b9a\u8303\u56f4\u5185\u7684\u5b8c\u6570\u3002\u63a5\u4e0b\u6765\u6211\u4eec\u5c06\u6df1\u5165\u63a2\u8ba8\u5b8c\u6570\u7684\u6027\u8d28\u3001\u7b97\u6cd5\u4f18\u5316\u7b49\u65b9\u9762\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u5b8c\u6570\u7684\u5b9a\u4e49\u548c\u6027\u8d28<\/p>\n<\/p>\n<p><p>\u5b8c\u6570\u662f\u6570\u5b66\u4e2d\u4e00\u4e2a\u6709\u8da3\u7684\u6982\u5ff5\uff0c\u5176\u5386\u53f2\u53ef\u4ee5\u8ffd\u6eaf\u5230\u53e4\u5e0c\u814a\u65f6\u4ee3\u3002\u4e00\u4e2a\u6570\u88ab\u79f0\u4e3a\u5b8c\u6570\uff0c\u662f\u56e0\u4e3a\u5b83\u7b49\u4e8e\u5176\u6240\u6709\u771f\u56e0\u6570\u4e4b\u548c\u3002\u4e86\u89e3\u5b8c\u6570\u7684\u5b9a\u4e49\u548c\u6027\u8d28\u662f\u6211\u4eec\u5b9e\u73b0\u7b97\u6cd5\u7684\u57fa\u7840\u3002<\/p>\n<\/p>\n<p><p>1\u3001\u5b8c\u6570\u7684\u5386\u53f2\u80cc\u666f<\/p>\n<\/p>\n<p><p>\u5b8c\u6570\u7684\u6982\u5ff5\u8d77\u6e90\u4e8e\u53e4\u5e0c\u814a\uff0c\u6700\u65e9\u7531\u6bd5\u8fbe\u54e5\u62c9\u65af\u5b66\u6d3e\u63d0\u51fa\u3002\u7b2c\u4e00\u4e2a\u88ab\u53d1\u73b0\u7684\u5b8c\u6570\u662f6\uff0c\u56e0\u4e3a\u5b83\u7684\u771f\u56e0\u65701\u30012\u30013\u7684\u548c\u7b49\u4e8e6\u672c\u8eab\u3002\u968f\u540e\uff0c\u6b27\u51e0\u91cc\u5f97\u5728\u300a\u51e0\u4f55\u539f\u672c\u300b\u4e2d\u7ed9\u51fa\u4e86\u5b8c\u6570\u7684\u751f\u6210\u516c\u5f0f\uff1a\u5982\u679c2^(p-1) * (2^p &#8211; 1)\u4e3a\u5b8c\u6570\uff0c\u5176\u4e2d2^p &#8211; 1\u662f\u7d20\u6570\uff0c\u52192^(p-1) * (2^p &#8211; 1)\u5c31\u662f\u5b8c\u6570\u3002<\/p>\n<\/p>\n<p><p>2\u3001\u5b8c\u6570\u7684\u5947\u5076\u6027<\/p>\n<\/p>\n<p><p>\u76ee\u524d\u5df2\u77e5\u7684\u5b8c\u6570\u90fd\u662f\u5076\u6570\uff0c\u8fd9\u4e5f\u662f\u6570\u5b66\u754c\u4e00\u4e2a\u672a\u89e3\u7684\u96be\u9898\uff1a\u662f\u5426\u5b58\u5728\u5947\u5b8c\u6570\u3002\u5927\u591a\u6570\u6570\u5b66\u5bb6\u8ba4\u4e3a\u5947\u5b8c\u6570\u5f88\u53ef\u80fd\u4e0d\u5b58\u5728\uff0c\u4f46\u5c1a\u65e0\u4e25\u683c\u8bc1\u660e\u3002\u5f53\u524d\u5df2\u77e5\u7684\u5b8c\u6570\u5f62\u5f0f\u90fd\u7531\u6b27\u51e0\u91cc\u5f97\u516c\u5f0f\u4ea7\u751f\uff0c\u800c\u8fd9\u79cd\u5f62\u5f0f\u672c\u8d28\u4e0a\u53ea\u80fd\u751f\u6210\u5076\u5b8c\u6570\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u7b97\u6cd5\u4f18\u5316\u548c\u6027\u80fd\u63d0\u5347<\/p>\n<\/p>\n<p><p>\u5728\u7f16\u5199\u5b8c\u6570\u5224\u65ad\u7a0b\u5e8f\u65f6\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4f18\u5316\u7b97\u6cd5\u6765\u63d0\u9ad8\u6548\u7387\uff0c\u5c24\u5176\u662f\u5728\u5904\u7406\u5927\u8303\u56f4\u7684\u6570\u65f6\u3002<\/p>\n<\/p>\n<p><p>1\u3001\u51cf\u5c11\u5faa\u73af\u8303\u56f4<\/p>\n<\/p>\n<p><p>\u5728\u627e\u51fa\u4e00\u4e2a\u6570\u7684\u56e0\u6570\u65f6\uff0c\u6211\u4eec\u53ea\u9700\u5faa\u73af\u5230\u5176\u5e73\u65b9\u6839\u5373\u53ef\u3002\u56e0\u4e3a\u5982\u679cnum = a * b\uff0c\u90a3\u4e48a\u548cb\u5fc5\u7136\u6709\u4e00\u4e2a\u4e0d\u5927\u4e8esqrt(num)\u3002\u8fd9\u53ef\u4ee5\u5927\u5927\u51cf\u5c11\u5faa\u73af\u6b21\u6570\u3002<\/p>\n<\/p>\n<p><p>2\u3001\u51cf\u5c11\u91cd\u590d\u8ba1\u7b97<\/p>\n<\/p>\n<p><p>\u5728\u5224\u65ad\u4e00\u4e2a\u6570\u7684\u56e0\u6570\u65f6\uff0c\u82e5\u6211\u4eec\u627e\u5230\u4e86a\u662fnum\u7684\u56e0\u6570\uff0c\u5219num \/ a\u4e5f\u662f\u5176\u56e0\u6570\u3002\u5728\u8ba1\u7b97\u56e0\u6570\u548c\u65f6\uff0c\u6ce8\u610f\u53ea\u52a0\u4e00\u6b21\u5373\u53ef\uff0c\u907f\u514d\u91cd\u590d\u3002<\/p>\n<\/p>\n<p><p>3\u3001\u4f7f\u7528\u5df2\u77e5\u7684\u5b8c\u6570\u516c\u5f0f<\/p>\n<\/p>\n<p><p>\u5bf9\u4e8e\u5927\u6570\u8303\u56f4\u5185\u7684\u5b8c\u6570\u67e5\u627e\uff0c\u53ef\u4ee5\u5229\u7528\u5df2\u77e5\u7684\u5b8c\u6570\u751f\u6210\u516c\u5f0f\uff0c\u8fd9\u6837\u53ef\u4ee5\u907f\u514d\u9010\u4e2a\u5224\u65ad\uff0c\u63d0\u9ad8\u6548\u7387\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u5b8c\u6570\u7684\u5e94\u7528\u548c\u7814\u7a76<\/p>\n<\/p>\n<p><p>\u5b8c\u6570\u5728\u6570\u5b66\u548c\u8ba1\u7b97\u673a\u79d1\u5b66\u4e2d\u6709\u7740\u5e7f\u6cdb\u7684\u5e94\u7528\u548c\u7814\u7a76\u4ef7\u503c\u3002<\/p>\n<\/p>\n<p><p>1\u3001\u5728\u5bc6\u7801\u5b66\u4e2d\u7684\u5e94\u7528<\/p>\n<\/p>\n<p><p>\u4e00\u4e9b\u5bc6\u7801\u5b66\u7b97\u6cd5\uff0c\u5982RSA\uff0c\u4f9d\u8d56\u4e8e\u5927\u7d20\u6570\u7684\u751f\u6210\u548c\u68c0\u6d4b\u3002\u5b8c\u6570\u7684\u7814\u7a76\u53ef\u4ee5\u5e2e\u52a9\u6570\u5b66\u5bb6\u7406\u89e3\u548c\u751f\u6210\u5927\u7d20\u6570\uff0c\u8fd9\u5bf9\u5bc6\u7801\u5b66\u6709\u91cd\u8981\u610f\u4e49\u3002<\/p>\n<\/p>\n<p><p>2\u3001\u5728\u8ba1\u7b97\u673a\u4e2d\u7684\u5e94\u7528<\/p>\n<\/p>\n<p><p>\u5b8c\u6570\u7684\u8ba1\u7b97\u53ef\u4ee5\u4f5c\u4e3a\u7b97\u6cd5\u4f18\u5316\u548c\u5e76\u884c\u8ba1\u7b97\u7684\u6d4b\u8bd5\u6848\u4f8b\u3002\u901a\u8fc7\u5b8c\u6570\u7684\u8ba1\u7b97\uff0c\u6211\u4eec\u53ef\u4ee5\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3001\u5e76\u884c\u7b97\u6cd5\u7684\u6027\u80fd\u548c\u6548\u7387\u3002<\/p>\n<\/p>\n<p><p>3\u3001\u6570\u5b66\u7814\u7a76\u4e2d\u7684\u5730\u4f4d<\/p>\n<\/p>\n<p><p>\u5b8c\u6570\u7684\u7814\u7a76\u4e0d\u4ec5\u9650\u4e8e\u5176\u672c\u8eab\uff0c\u8fd8\u6d89\u53ca\u5230\u6570\u8bba\u3001\u4ee3\u6570\u7b49\u9886\u57df\u3002\u5b8c\u6570\u95ee\u9898\u7684\u7814\u7a76\u63a8\u52a8\u4e86\u6570\u5b66\u7684\u53d1\u5c55\uff0c\u5c24\u5176\u662f\u5bf9\u7d20\u6570\u3001\u56e0\u6570\u5206\u89e3\u7b49\u95ee\u9898\u7684\u7814\u7a76\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>Python\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u529f\u80fd\u6765\u5b9e\u73b0\u5b8c\u6570\u7684\u8ba1\u7b97\uff0c\u901a\u8fc7\u638c\u63e1\u5b8c\u6570\u7684\u5b9a\u4e49\u548c\u6027\u8d28\u3001\u4f18\u5316\u7b97\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u9ad8\u6548\u5730\u67e5\u627e\u548c\u9a8c\u8bc1\u5b8c\u6570\u3002\u5b8c\u6570\u7684\u7814\u7a76\u4e0d\u4ec5\u5177\u6709\u6570\u5b66\u4e0a\u7684\u4ef7\u503c\uff0c\u8fd8\u5728\u8ba1\u7b97\u673a\u79d1\u5b66\u3001\u5bc6\u7801\u5b66\u7b49\u9886\u57df\u6709\u7740\u5e7f\u6cdb\u7684\u5e94\u7528\u3002\u672a\u6765\uff0c\u968f\u7740\u8ba1\u7b97\u80fd\u529b\u7684\u63d0\u5347\u548c\u6570\u5b66\u7406\u8bba\u7684\u53d1\u5c55\uff0c\u5b8c\u6570\u7684\u7814\u7a76\u5c06\u7ee7\u7eed\u6df1\u5165\uff0c\u53ef\u80fd\u4f1a\u89e3\u7b54\u8bb8\u591a\u672a\u89e3\u7684\u6570\u5b66\u96be\u9898\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u4ec0\u4e48\u662f\u5b8c\u6570\uff0c\u5982\u4f55\u5728Python\u4e2d\u5b9a\u4e49\u5b83\uff1f<\/strong><br \/>\u5b8c\u6570\u662f\u6307\u4e00\u4e2a\u6b63\u6574\u6570\u7b49\u4e8e\u5b83\u7684\u6240\u6709\u6b63\u56e0\u5b50\uff08\u4e0d\u5305\u62ec\u81ea\u8eab\uff09\u7684\u548c\u3002\u6bd4\u59826\u7684\u56e0\u5b50\u662f1\u30012\u30013\uff0c1 + 2 + 3 = 6\uff0c\u56e0\u6b646\u662f\u4e00\u4e2a\u5b8c\u6570\u3002\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u7f16\u5199\u51fd\u6570\u6765\u5224\u65ad\u4e00\u4e2a\u6570\u662f\u5426\u4e3a\u5b8c\u6570\uff0c\u8ba1\u7b97\u5176\u56e0\u5b50\u5e76\u6c42\u548c\u5373\u53ef\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u5224\u65ad\u4e00\u4e2a\u6570\u662f\u5426\u4e3a\u5b8c\u6570\uff1f<\/strong><br \/>\u53ef\u4ee5\u901a\u8fc7\u7f16\u5199\u4e00\u4e2a\u51fd\u6570\u6765\u5224\u65ad\u3002\u4f8b\u5982\uff0c\u904d\u5386\u4ece1\u5230\u8be5\u6570\u7684\u4e00\u534a\u7684\u6240\u6709\u6574\u6570\uff0c\u68c0\u67e5\u6bcf\u4e2a\u6574\u6570\u662f\u5426\u662f\u8be5\u6570\u7684\u56e0\u5b50\uff0c\u5e76\u7d2f\u52a0\u8fd9\u4e9b\u56e0\u5b50\u3002\u5982\u679c\u7d2f\u52a0\u7684\u7ed3\u679c\u7b49\u4e8e\u8be5\u6570\u672c\u8eab\uff0c\u5219\u8be5\u6570\u4e3a\u5b8c\u6570\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<pre><code class=\"language-python\">def is_perfect_number(n):\n    if n &lt; 1:\n        return False\n    sum_of_factors = sum(i for i in range(1, n \/\/ 2 + 1) if n % i == 0)\n    return sum_of_factors == n\n<\/code><\/pre>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u627e\u5230\u4e00\u5b9a\u8303\u56f4\u5185\u7684\u6240\u6709\u5b8c\u6570\uff1f<\/strong><br \/>\u4e3a\u4e86\u5728\u4e00\u5b9a\u8303\u56f4\u5185\u627e\u5230\u6240\u6709\u5b8c\u6570\uff0c\u53ef\u4ee5\u7f16\u5199\u4e00\u4e2a\u5faa\u73af\uff0c\u904d\u5386\u8be5\u8303\u56f4\u5185\u7684\u6bcf\u4e2a\u6570\u5b57\u5e76\u4f7f\u7528\u524d\u9762\u63d0\u5230\u7684\u5224\u65ad\u51fd\u6570\u6765\u68c0\u67e5\u6bcf\u4e2a\u6570\u5b57\u3002\u4f8b\u5982\uff1a<\/p>\n<pre><code class=\"language-python\">def perfect_numbers_in_range(start, end):\n    return [n for n in range(start, end + 1) if is_perfect_number(n)]\n<\/code><\/pre>\n<p>\u8fd9\u4e2a\u51fd\u6570\u5c06\u8fd4\u56de\u6307\u5b9a\u8303\u56f4\u5185\u6240\u6709\u7684\u5b8c\u6570\uff0c\u65b9\u4fbf\u7528\u6237\u5feb\u901f\u67e5\u627e\u548c\u9a8c\u8bc1\u3002<\/p>\n<p><strong>\u5b8c\u6570\u5728\u6570\u5b66\u4e2d\u6709\u4ec0\u4e48\u91cd\u8981\u6027\uff1f<\/strong><br \/>\u5b8c\u6570\u4e0d\u4ec5\u5728\u6570\u8bba\u4e2d\u5177\u6709\u91cd\u8981\u610f\u4e49\uff0c\u8fd8\u4e0e\u5176\u4ed6\u6570\u5b66\u6982\u5ff5\u5982\u53cb\u597d\u6570\u548c\u963f\u7f8e\u5c14\u6570\u6709\u8054\u7cfb\u3002\u5b8c\u6570\u7684\u7814\u7a76\u53ef\u4ee5\u5e2e\u52a9\u6570\u5b66\u5bb6\u7406\u89e3\u6570\u5b57\u4e4b\u95f4\u7684\u5173\u7cfb\uff0c\u5e76\u5728\u6570\u8bba\u7684\u8bb8\u591a\u9886\u57df\u4e2d\u8d77\u5230\u57fa\u7840\u4f5c\u7528\u3002\u5bf9\u4e8e\u7f16\u7a0b\u5b66\u4e60\u8005\u800c\u8a00\uff0c\u7814\u7a76\u5b8c\u6570\u4e5f\u6709\u52a9\u4e8e\u63d0\u9ad8\u903b\u8f91\u601d\u7ef4\u548c\u7f16\u7a0b\u80fd\u529b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4e00\u3001PYTHON\u5982\u4f55\u6c42\u5b8c\u6570 \u8981\u5728Python\u4e2d\u6c42\u5b8c\u6570\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\u6765\u5224\u65ad\u4e00\u4e2a\u6570\u662f\u5426\u4e3a\u5b8c\u6570\u3001\u4f7f\u7528\u5faa\u73af\u6765\u904d [&hellip;]","protected":false},"author":3,"featured_media":976237,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/976227"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=976227"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/976227\/revisions"}],"predecessor-version":[{"id":976243,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/976227\/revisions\/976243"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/976237"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=976227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=976227"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=976227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}