{"id":929894,"date":"2024-12-26T17:05:01","date_gmt":"2024-12-26T09:05:01","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/929894.html"},"modified":"2024-12-26T17:05:03","modified_gmt":"2024-12-26T09:05:03","slug":"python%e5%a6%82%e4%bd%95%e8%b0%83%e7%94%a8return","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/929894.html","title":{"rendered":"python\u5982\u4f55\u8c03\u7528return"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25064909\/00ca2c41-3578-45f6-b158-77ad81ae5a89.webp\" alt=\"python\u5982\u4f55\u8c03\u7528return\" \/><\/p>\n<p><p> <strong>Python\u8c03\u7528return\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u51fd\u6570\u8c03\u7528\u3001\u63a5\u6536\u8fd4\u56de\u503c\u3001\u5904\u7406\u8fd4\u56de\u503c\u3001\u53ef\u9009\u5730\u5904\u7406\u5f02\u5e38\u3001\u5229\u7528\u8fd4\u56de\u503c\u8fdb\u884c\u8fdb\u4e00\u6b65\u8ba1\u7b97\u3002<\/strong> \u5728Python\u4e2d\uff0c<code>return<\/code>\u8bed\u53e5\u7528\u4e8e\u51fd\u6570\u5185\u6307\u5b9a\u4e00\u4e2a\u503c\u6216\u591a\u4e2a\u503c\u8fd4\u56de\u7ed9\u8c03\u7528\u8005\u3002\u4e0b\u9762\u8be6\u7ec6\u63cf\u8ff0\u5982\u4f55\u8c03\u7528\u548c\u5904\u7406\u51fd\u6570\u8fd4\u56de\u503c\u7684\u8fc7\u7a0b\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u51fd\u6570\u7684\u5b9a\u4e49\u4e0e\u8c03\u7528<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u51fd\u6570\u662f\u901a\u8fc7<code>def<\/code>\u5173\u952e\u5b57\u5b9a\u4e49\u7684\u3002\u5b9a\u4e49\u51fd\u6570\u65f6\uff0c\u53ef\u4ee5\u6307\u5b9a\u8f93\u5165\u53c2\u6570\uff0c\u51fd\u6570\u6267\u884c\u5b8c\u540e\u53ef\u4ee5\u4f7f\u7528<code>return<\/code>\u8bed\u53e5\u8fd4\u56de\u7ed3\u679c\u3002\u8c03\u7528\u51fd\u6570\u662f\u4f7f\u7528\u5176\u540d\u79f0\uff0c\u5e76\u4f20\u9012\u5fc5\u8981\u7684\u53c2\u6570\u3002<\/p>\n<\/p>\n<p><h4>1. \u5b9a\u4e49\u51fd\u6570<\/h4>\n<\/p>\n<p><p>\u51fd\u6570\u5b9a\u4e49\u662fPython\u4e2d\u6784\u9020\u7a0b\u5e8f\u903b\u8f91\u7684\u57fa\u672c\u5355\u5143\u3002\u901a\u8fc7\u5b9a\u4e49\u51fd\u6570\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u590d\u6742\u7684\u64cd\u4f5c\u5c01\u88c5\u6210\u4e00\u4e2a\u7b80\u5355\u7684\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def add_numbers(a, b):<\/p>\n<p>    result = a + b<\/p>\n<p>    return result<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>add_numbers<\/code>\u662f\u4e00\u4e2a\u51fd\u6570\uff0c\u63a5\u53d7\u4e24\u4e2a\u53c2\u6570<code>a<\/code>\u548c<code>b<\/code>\uff0c\u5e76\u8fd4\u56de\u5b83\u4eec\u7684\u548c\u3002<\/p>\n<\/p>\n<p><h4>2. \u8c03\u7528\u51fd\u6570<\/h4>\n<\/p>\n<p><p>\u8c03\u7528\u51fd\u6570\u65f6\uff0c\u53ea\u9700\u8981\u4f7f\u7528\u51fd\u6570\u540d\u5e76\u4f20\u9012\u9002\u5f53\u7684\u53c2\u6570\u5373\u53ef\u3002\u51fd\u6570\u6267\u884c\u5b8c\u6bd5\u540e\u4f1a\u8fd4\u56de\u503c\u7ed9\u8c03\u7528\u8005\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">sum_result = add_numbers(3, 5)<\/p>\n<p>print(sum_result)  # \u8f93\u51fa 8<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u63a5\u6536\u548c\u5904\u7406\u8fd4\u56de\u503c<\/h3>\n<\/p>\n<p><p>\u5728\u8c03\u7528\u51fd\u6570\u5e76\u8fd4\u56de\u503c\u540e\uff0c\u901a\u5e38\u9700\u8981\u5bf9\u8fd4\u56de\u503c\u8fdb\u884c\u5904\u7406\u3002\u8fd4\u56de\u503c\u53ef\u4ee5\u76f4\u63a5\u7528\u4e8e\u5176\u4ed6\u8ba1\u7b97\uff0c\u4e5f\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u7a0b\u5e8f\u6d41\u3002<\/p>\n<\/p>\n<p><h4>1. \u5355\u4e2a\u8fd4\u56de\u503c<\/h4>\n<\/p>\n<p><p>\u51fd\u6570\u53ef\u4ee5\u8fd4\u56de\u5355\u4e2a\u503c\uff0c\u8fd9\u4e9b\u503c\u53ef\u4ee5\u662f\u4efb\u610f\u6570\u636e\u7c7b\u578b\uff0c\u6bd4\u5982\u6574\u6570\u3001\u6d6e\u70b9\u6570\u3001\u5b57\u7b26\u4e32\u3001\u5217\u8868\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def greet(name):<\/p>\n<p>    return f&quot;Hello, {name}!&quot;<\/p>\n<p>greeting = greet(&quot;Alice&quot;)<\/p>\n<p>print(greeting)  # \u8f93\u51fa Hello, Alice!<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u591a\u4e2a\u8fd4\u56de\u503c<\/h4>\n<\/p>\n<p><p>Python\u5141\u8bb8\u51fd\u6570\u8fd4\u56de\u591a\u4e2a\u503c\uff0c\u8fd4\u56de\u7684\u591a\u4e2a\u503c\u4f1a\u4ee5\u5143\u7ec4\u7684\u5f62\u5f0f\u8fd4\u56de\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def get_person_info():<\/p>\n<p>    name = &quot;John&quot;<\/p>\n<p>    age = 30<\/p>\n<p>    return name, age<\/p>\n<p>name, age = get_person_info()<\/p>\n<p>print(name, age)  # \u8f93\u51fa John 30<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u5f02\u5e38\u5904\u7406\u4e0e\u8fd4\u56de\u503c<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u51fd\u6570\u53ef\u80fd\u4f1a\u9047\u5230\u5f02\u5e38\uff0c\u9700\u8981\u5728\u8c03\u7528\u65f6\u8fdb\u884c\u5904\u7406\u4ee5\u907f\u514d\u7a0b\u5e8f\u5d29\u6e83\u3002<\/p>\n<\/p>\n<p><h4>1. \u4f7f\u7528try-except\u5757<\/h4>\n<\/p>\n<p><p>\u901a\u8fc7<code>try<\/code>\u548c<code>except<\/code>\u5757\u53ef\u4ee5\u6355\u83b7\u5e76\u5904\u7406\u51fd\u6570\u8c03\u7528\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u629b\u51fa\u7684\u5f02\u5e38\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def divide(a, b):<\/p>\n<p>    if b == 0:<\/p>\n<p>        r<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>se ValueError(&quot;\u9664\u6570\u4e0d\u80fd\u4e3a\u96f6&quot;)<\/p>\n<p>    return a \/ b<\/p>\n<p>try:<\/p>\n<p>    result = divide(10, 0)<\/p>\n<p>except ValueError as e:<\/p>\n<p>    print(e)  # \u8f93\u51fa \u9664\u6570\u4e0d\u80fd\u4e3a\u96f6<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u5229\u7528\u8fd4\u56de\u503c\u8fdb\u884c\u8fdb\u4e00\u6b65\u8ba1\u7b97<\/h3>\n<\/p>\n<p><p>\u8fd4\u56de\u503c\u53ef\u4ee5\u7528\u4e8e\u8fdb\u4e00\u6b65\u7684\u8ba1\u7b97\u6216\u4f5c\u4e3a\u5176\u4ed6\u51fd\u6570\u7684\u8f93\u5165\u53c2\u6570\u3002<\/p>\n<\/p>\n<p><h4>1. \u94fe\u5f0f\u8c03\u7528<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u5c06\u4e00\u4e2a\u51fd\u6570\u7684\u8fd4\u56de\u503c\u76f4\u63a5\u4f20\u9012\u7ed9\u53e6\u4e00\u4e2a\u51fd\u6570\uff0c\u4ece\u800c\u5b9e\u73b0\u94fe\u5f0f\u8c03\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def square(x):<\/p>\n<p>    return x * x<\/p>\n<p>squared_sum = square(add_numbers(2, 3))<\/p>\n<p>print(squared_sum)  # \u8f93\u51fa 25<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u7ec4\u5408\u591a\u4e2a\u8fd4\u56de\u503c<\/h4>\n<\/p>\n<p><p>\u901a\u8fc7\u7ec4\u5408\u591a\u4e2a\u8fd4\u56de\u503c\u53ef\u4ee5\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u8ba1\u7b97\u903b\u8f91\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def rectangle_area_and_perimeter(length, width):<\/p>\n<p>    area = length * width<\/p>\n<p>    perimeter = 2 * (length + width)<\/p>\n<p>    return area, perimeter<\/p>\n<p>area, perimeter = rectangle_area_and_perimeter(5, 3)<\/p>\n<p>print(f&quot;\u9762\u79ef: {area}, \u5468\u957f: {perimeter}&quot;)  # \u8f93\u51fa \u9762\u79ef: 15, \u5468\u957f: 16<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u8fd4\u56de\u503c\u5904\u7406<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u8fd4\u56de\u503c\u7684\u5904\u7406\u53ef\u80fd\u66f4\u590d\u6742\uff0c\u53ef\u80fd\u9700\u8981\u7ed3\u5408\u6570\u636e\u7ed3\u6784\u3001\u7b97\u6cd5\u7b49\u8fdb\u884c\u5904\u7406\u3002<\/p>\n<\/p>\n<p><h4>1. \u8fd4\u56de\u503c\u4e0e\u6570\u636e\u7ed3\u6784<\/h4>\n<\/p>\n<p><p>\u8fd4\u56de\u503c\u53ef\u4ee5\u662f\u590d\u6742\u7684\u6570\u636e\u7ed3\u6784\uff0c\u5982\u5217\u8868\u3001\u5b57\u5178\u3001\u96c6\u5408\u7b49\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5904\u7406\u8fd4\u56de\u503c\u9700\u8981\u719f\u6089\u76f8\u5e94\u7684\u6570\u636e\u7ed3\u6784\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def get_student_grades():<\/p>\n<p>    grades = {&quot;Alice&quot;: 90, &quot;Bob&quot;: 85, &quot;Charlie&quot;: 92}<\/p>\n<p>    return grades<\/p>\n<p>grades = get_student_grades()<\/p>\n<p>for student, grade in grades.items():<\/p>\n<p>    print(f&quot;{student}: {grade}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u8fd4\u56de\u503c\u4e0e\u7b97\u6cd5<\/h4>\n<\/p>\n<p><p>\u5728\u7b97\u6cd5\u4e2d\uff0c\u8fd4\u56de\u503c\u901a\u5e38\u7528\u4e8e\u4f20\u9012\u8ba1\u7b97\u7ed3\u679c\u3002\u5728\u8bbe\u8ba1\u7b97\u6cd5\u65f6\uff0c\u9700\u8003\u8651\u8fd4\u56de\u503c\u7684\u51c6\u786e\u6027\u548c\u6709\u6548\u6027\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def fibonacci(n):<\/p>\n<p>    if n &lt;= 1:<\/p>\n<p>        return n<\/p>\n<p>    else:<\/p>\n<p>        return fibonacci(n-1) + fibonacci(n-2)<\/p>\n<p>fib_value = fibonacci(5)<\/p>\n<p>print(fib_value)  # \u8f93\u51fa 5<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001\u6700\u4f73\u5b9e\u8df5\u4e0e\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><p>\u5728\u8bbe\u8ba1\u548c\u8c03\u7528\u51fd\u6570\u65f6\uff0c\u9700\u8981\u9075\u5faa\u4e00\u4e9b\u6700\u4f73\u5b9e\u8df5\uff0c\u4ee5\u4fdd\u8bc1\u7a0b\u5e8f\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002<\/p>\n<\/p>\n<p><h4>1. \u6e05\u6670\u7684\u51fd\u6570\u547d\u540d<\/h4>\n<\/p>\n<p><p>\u51fd\u6570\u540d\u5e94\u6e05\u6670\u660e\u4e86\uff0c\u80fd\u591f\u53cd\u6620\u51fd\u6570\u7684\u529f\u80fd\uff0c\u4fbf\u4e8e\u8c03\u7528\u8005\u7406\u89e3\u3002<\/p>\n<\/p>\n<p><h4>2. \u5408\u7406\u7684\u53c2\u6570\u8bbe\u8ba1<\/h4>\n<\/p>\n<p><p>\u53c2\u6570\u7684\u8bbe\u8ba1\u5e94\u5c3d\u91cf\u7b80\u6d01\uff0c\u5fc5\u8981\u65f6\u53ef\u4ee5\u4f7f\u7528\u9ed8\u8ba4\u53c2\u6570\u6216\u5173\u952e\u5b57\u53c2\u6570\u63d0\u9ad8\u7075\u6d3b\u6027\u3002<\/p>\n<\/p>\n<p><h4>3. \u8fd4\u56de\u503c\u7684\u6587\u6863\u5316<\/h4>\n<\/p>\n<p><p>\u5728\u51fd\u6570\u6587\u6863\u4e2d\u660e\u786e\u63cf\u8ff0\u8fd4\u56de\u503c\u7684\u7c7b\u578b\u548c\u610f\u4e49\uff0c\u5e2e\u52a9\u5176\u4ed6\u5f00\u53d1\u8005\u7406\u89e3\u548c\u4f7f\u7528\u51fd\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def calculate_discount(price, discount):<\/p>\n<p>    &quot;&quot;&quot;<\/p>\n<p>    \u8ba1\u7b97\u6298\u6263\u540e\u7684\u4ef7\u683c<\/p>\n<p>    \u53c2\u6570:<\/p>\n<p>    price -- \u539f\u4ef7<\/p>\n<p>    discount -- \u6298\u6263\u7387 (\u767e\u5206\u6bd4)<\/p>\n<p>    \u8fd4\u56de:<\/p>\n<p>    float -- \u6298\u6263\u540e\u7684\u4ef7\u683c<\/p>\n<p>    &quot;&quot;&quot;<\/p>\n<p>    discounted_price = price * (1 - discount \/ 100)<\/p>\n<p>    return discounted_price<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u9075\u5faa\u8fd9\u4e9b\u539f\u5219\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u5229\u7528Python\u51fd\u6570\u7684\u8fd4\u56de\u503c\uff0c\u63d0\u9ad8\u4ee3\u7801\u8d28\u91cf\u548c\u53ef\u7ef4\u62a4\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528return\u8bed\u53e5\u8fd4\u56de\u591a\u4e2a\u503c\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u5c06\u591a\u4e2a\u503c\u6253\u5305\u6210\u4e00\u4e2a\u5143\u7ec4\u6765\u4f7f\u7528return\u8bed\u53e5\u8fd4\u56de\u591a\u4e2a\u503c\u3002\u4f8b\u5982\uff0c\u4f60\u53ef\u4ee5\u5728\u51fd\u6570\u4e2d\u8fd4\u56de\u591a\u4e2a\u53d8\u91cf\uff0c\u5982\u4e0b\u6240\u793a\uff1a  <\/p>\n<pre><code class=\"language-python\">def example_function():\n    a = 1\n    b = 2\n    return a, b\n\nresult = example_function()\nprint(result)  # \u8f93\u51fa: (1, 2)\n<\/code><\/pre>\n<p>\u8fd9\u6837\uff0c\u8c03\u7528\u51fd\u6570\u65f6\u4f1a\u5f97\u5230\u4e00\u4e2a\u5305\u542b\u6240\u6709\u8fd4\u56de\u503c\u7684\u5143\u7ec4\u3002<\/p>\n<p><strong>return\u8bed\u53e5\u5728Python\u4e2d\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>return\u8bed\u53e5\u7684\u4e3b\u8981\u4f5c\u7528\u662f\u7ed3\u675f\u51fd\u6570\u7684\u6267\u884c\u5e76\u8fd4\u56de\u7ed3\u679c\u7ed9\u8c03\u7528\u8005\u3002\u5b83\u4e0d\u4ec5\u53ef\u4ee5\u8fd4\u56de\u4e00\u4e2a\u503c\uff0c\u4e5f\u53ef\u4ee5\u8fd4\u56de\u591a\u4e2a\u503c\u3002\u4f7f\u7528return\u8bed\u53e5\u540e\uff0c\u51fd\u6570\u4f1a\u7acb\u5373\u9000\u51fa\uff0c\u540e\u7eed\u7684\u4ee3\u7801\u5c06\u4e0d\u4f1a\u88ab\u6267\u884c\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u5904\u7406return\u8bed\u53e5\u7684\u8fd4\u56de\u503c\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u5904\u7406return\u8bed\u53e5\u7684\u8fd4\u56de\u503c\u975e\u5e38\u7b80\u5355\u3002\u8c03\u7528\u51fd\u6570\u65f6\uff0c\u53ef\u4ee5\u5c06\u8fd4\u56de\u503c\u8d4b\u7ed9\u4e00\u4e2a\u53d8\u91cf\uff0c\u6216\u8005\u76f4\u63a5\u5728\u8868\u8fbe\u5f0f\u4e2d\u4f7f\u7528\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">def add(x, y):\n    return x + y\n\nsum_result = add(5, 3)\nprint(&quot;Sum:&quot;, sum_result)  # \u8f93\u51fa: Sum: 8\n<\/code><\/pre>\n<p>\u4f60\u4e5f\u53ef\u4ee5\u76f4\u63a5\u5728\u6253\u5370\u8bed\u53e5\u4e2d\u4f7f\u7528\u8fd4\u56de\u503c\uff0c\u5982<code>print(add(5, 3))<\/code>\u3002\u8fd9\u6837\uff0c\u8fd4\u56de\u7684\u503c\u53ef\u4ee5\u5728\u4efb\u4f55\u9700\u8981\u7684\u5730\u65b9\u4f7f\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u8c03\u7528return\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u51fd\u6570\u8c03\u7528\u3001\u63a5\u6536\u8fd4\u56de\u503c\u3001\u5904\u7406\u8fd4\u56de\u503c\u3001\u53ef\u9009\u5730\u5904\u7406\u5f02\u5e38\u3001\u5229\u7528\u8fd4\u56de\u503c\u8fdb\u884c\u8fdb [&hellip;]","protected":false},"author":3,"featured_media":929904,"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\/929894"}],"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=929894"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/929894\/revisions"}],"predecessor-version":[{"id":929905,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/929894\/revisions\/929905"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/929904"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=929894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=929894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=929894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}