{"id":89812,"date":"2026-08-03T21:24:34","date_gmt":"2026-08-03T13:24:34","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/89812.html"},"modified":"2026-08-03T21:24:34","modified_gmt":"2026-08-03T13:24:34","slug":"python%e5%ad%a6%e4%b9%a0-%e5%87%bd%e6%95%b0%e7%9a%84%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/89812.html","title":{"rendered":"Python\u5b66\u4e60---\u51fd\u6570\u7684\u57fa\u7840\u77e5\u8bc6"},"content":{"rendered":"<p>\u6458\u8981&#xff1a;\u672c\u6587\u7cfb\u7edf\u4ecb\u7ecd\u4e86 Python \u51fd\u6570\u7684\u57fa\u7840\u77e5\u8bc6&#xff0c;\u6db5\u76d6\u51fd\u6570\u5b9a\u4e49\u3001\u53c2\u6570\u4f20\u9012\u3001\u8fd4\u56de\u503c\u3001\u8bf4\u660e\u6587\u6863\u3001\u5d4c\u5957\u8c03\u7528\u3001\u53d8\u91cf\u4f5c\u7528\u57df\u7b49\u6838\u5fc3\u6982\u5ff5&#xff0c;\u5e76\u901a\u8fc7\u591a\u4e2a\u4ee3\u7801\u793a\u4f8b\u548c\u7efc\u5408\u6848\u4f8b&#xff08;\u6570\u52a0 ATM&#xff09;\u5e2e\u52a9\u8bfb\u8005\u4ece\u96f6\u5f00\u59cb\u638c\u63e1\u51fd\u6570\u7684\u4f7f\u7528\u3002\u6587\u7ae0\u7ed3\u6784\u6e05\u6670&#xff0c;\u4ece\u57fa\u7840\u8bed\u6cd5\u5230\u5b9e\u9645\u5e94\u7528\u5c42\u5c42\u9012\u8fdb&#xff0c;\u9002\u5408 Python \u521d\u5b66\u8005\u5b66\u4e60\u3002<\/p>\n<p>\u4e00\u3001\u51fd\u6570\u4ecb\u7ecd<\/p>\n<p>1\u3001\u638c\u63e1\u51fd\u6570\u7684\u57fa\u7840\u5b9a\u4e49\u8bed\u6cd5\u683c\u5f0f \u51fd\u6570\u5b9a\u4e49\u8bed\u6cd5\u683c\u5f0f&#xff1a;<\/p>\n<p>\u51fd\u6570\u5b9a\u4e49\u8bed\u6cd5\u683c\u5f0f&#xff1a;<br \/>\ndef \u51fd\u6570\u540d(\u4f20\u5165\u7684\u53c2\u6570):   # \u53c2\u6570\u6682\u4e0d\u8ba8\u8bba<br \/>\n    \u51fd\u6570\u4f53<br \/>\n    return \u8fd4\u56de\u503c       # \u8fd4\u56de\u503c\u6682\u4e0d\u8ba8\u8bba<br \/>\n\u51fd\u6570\u4f7f\u7528\u8bed\u6cd5\u683c\u5f0f&#xff1a;<br \/>\n\u51fd\u6570\u540d(\u53c2\u6570)<br \/>\ndef \u51fd\u6570\u540d():<br \/>\n\u51fd\u6570\u4f53<\/p>\n<p>\u7ec3\u4e60<\/p>\n<p>def bigdata_ai():<br \/>\n    print(&#034;hello func!&#034;)<br \/>\n#\u4f7f\u7528\u51fd\u6570<br \/>\nbigdata_ai()<\/p>\n<p>\u4e8c\u3001\u51fd\u6570\u53c2\u6570<\/p>\n<p>\u51fd\u6570\u4f20\u5165\u53c2\u6570\u529f\u80fd&#xff1a;\u5728\u51fd\u6570\u8fdb\u884c\u8ba1\u7b97\u7684\u65f6\u5019&#xff0c;\u63a5\u6536\u5916\u90e8&#xff08;\u8c03\u7528\u65f6&#xff09;\u63d0\u4f9b\u7684\u6570\u636e\u3002<br \/>\n\u51fd\u6570\u5b9a\u4e49\u8bed\u6cd5\u683c\u5f0f&#xff1a;<br \/>\ndef \u51fd\u6570\u540d(\u4f20\u5165\u7684\u53c2\u6570):<br \/>\n    \u51fd\u6570\u4f53<br \/>\n\u51fd\u6570\u4f20\u5165\u7684\u53c2\u6570&#xff1a;\u51fd\u6570\u4f20\u5165\u53c2\u6570\u7684\u6570\u91cf\u662f\u4e0d\u53d7\u9650\u5236\u7684\u3002<br \/>\n&#xff08;1&#xff09;\u53ef\u4ee5\u4e0d\u4f7f\u7528\u53c2\u6570<br \/>\n&#xff08;2&#xff09;\u4e5f\u53ef\u4ee5\u4f7f\u7528N\u4e2a\u53c2\u6570<\/p>\n<p>\u4f8b\u9898<\/p>\n<p>#\u9700\u6c42&#xff1a;\u8981\u6c42\u4f7f\u7528\u51fd\u6570\u5b8c\u6210\u4e24\u4e2a\u6570\u636e\u76f8\u52a0\u7684\u529f\u80fd<br \/>\n#\u5b9a\u4e49\u51fd\u6570<br \/>\ndef add():<br \/>\n    result &#061; 1 &#043; 2<br \/>\n    print(f&#034;1 &#043; 2 \u7684\u7ed3\u679c\u662f&#xff1a;{result}&#034;)<br \/>\n#\u4f7f\u7528\u51fd\u6570<br \/>\nadd()<\/p>\n<p># \u9700\u6c42&#xff1a;\u8981\u6c42\u4f7f\u7528\u51fd\u6570\u5b8c\u6210\u4e24\u4e2a\u6570\u636e\u76f8\u52a0\u7684\u529f\u80fd<br \/>\ndef add(x,y):<br \/>\n    result &#061; x &#043; y<br \/>\n    print(f&#034;{x} &#043; {y} \u7684\u7ed3\u679c\u662f&#xff1a;{result}&#034;)<\/p>\n<p># \u4f7f\u7528<br \/>\nadd(4,4)<\/p>\n<p>\u4e09\u3001\u51fd\u6570\u89e3\u6790<\/p>\n<p>1\u3001\u51fd\u6570\u5b9a\u4e49\u4e2d&#xff0c;\u63d0\u4f9b\u7684x\u548cy&#xff0c;\u79f0\u4e4b\u4e3a&#xff1a;\u5f62\u5f0f\u53c2\u6570&#xff08;\u5f62\u53c2&#xff09;&#xff0c;\u8868\u793a\u51fd\u6570\u58f0\u660e\u5c06\u8981\u4f7f\u75282\u4e2a\u53c2\u6570&#xff0c;\u53c2\u6570\u4e4b\u95f4\u4f7f\u7528\u9017\u53f7\u5206\u9694\u3002<br \/>\n2\u3001\u51fd\u6570\u4f7f\u7528\u4e2d&#xff0c;\u63d0\u4f9b\u76844\u548c4&#xff0c;\u79f0\u4e4b\u4e3a&#xff1a;\u5b9e\u9645\u53c2\u6570&#xff08;\u5b9e\u53c2&#xff09;&#xff0c;\u8868\u793a\u51fd\u6570\u6267\u884c\u7684\u65f6\u5019\u771f\u6b63\u4f7f\u7528\u7684\u53c2\u6570\u503c&#xff0c;\u4f20\u5165\u7684\u65f6\u5019&#xff0c;\u6309\u7167\u987a\u5e8f\u4f20\u5165\u6570\u636e&#xff0c;\u4f7f\u7528\u9017\u53f7\u5206\u9694\u3002<\/p>\n<p>\u56db\u3001\u51fd\u6570\u8fd4\u56de\u503c<\/p>\n<p>1\u3001\u51fd\u6570\u8fd4\u56de\u503c\u7684\u5b9a\u4e49<br \/>\n\u5b66\u4e60\u76ee\u6807&#xff1a;<br \/>\n    (1)\u638c\u63e1\u51fd\u6570\u8fd4\u56de\u503c\u7684\u4f5c\u7528<br \/>\n    (2)\u638c\u63e1\u51fd\u6570\u8fd4\u56de\u503c\u7684\u5b9a\u4e49\u8bed\u6cd5<br \/>\n\u51fd\u6570\u8fd4\u56de\u503c&#xff1a;\u5c31\u662f\u7a0b\u5e8f\u4e2d\u51fd\u6570\u5b8c\u6210\u4e8b\u60c5\u540e&#xff0c;\u6700\u540e\u7ed9\u8c03\u7528\u8005\u7684\u7ed3\u679c\u3002<br \/>\n\u51fd\u6570\u8fd4\u56de\u503c\u8bed\u6cd5\u683c\u5f0f&#xff1a;<br \/>\ndef \u51fd\u6570\u540d(\u53c2\u6570&#8230;&#8230;):<br \/>\n    \u51fd\u6570\u4f53<br \/>\n    return \u8fd4\u56de\u503c<br \/>\n\u51fd\u6570\u4f7f\u7528\u8bed\u6cd5\u683c\u5f0f&#xff1a;<br \/>\n\u53d8\u91cf\u540d &#061; \u51fd\u6570\u540d(\u53c2\u6570&#8230;..)<br \/>\n2\u3001None\u7c7b\u578b<br \/>\n\u601d\u8003&#xff1f;\u5982\u679c\u51fd\u6570\u6ca1\u6709\u4f7f\u7528return\u8bed\u53e5\u8fd4\u56de\u6570\u636e&#xff0c;\u90a3\u4e48\u51fd\u6570\u6709\u8fd4\u56de\u503c\u5417&#xff1f; \u6709\u7684<br \/>\npython\u4e2d\u6709\u4e00\u4e2a\u7279\u6b8a\u5b57\u9762\u91cf&#xff1a;None&#xff0c;\u5176\u7c7b\u578b\u662f&#xff1a;&lt;class &#039;NoneType&#039;&gt;<br \/>\n\u65e0\u8fd4\u56de\u503c\u7684\u51fd\u6570&#xff0c;\u5b9e\u9645\u4e0a\u5c31\u662f\u8fd4\u56de\u4e86None\u5b57\u9762\u91cf<br \/>\nNone&#xff1a;\u8868\u793a\u7a7a\u7684&#xff0c;\u65e0\u5b9e\u9645\u610f\u4e49\u7684&#xff0c;<br \/>\n\u51fd\u6570\u8fd4\u56deNone&#xff0c;\u5c31\u8868\u793a\u8fd9\u4e2a\u51fd\u6570\u6ca1\u6709\u8fd4\u56de\u4ec0\u4e48\u6709\u610f\u4e49\u7684\u5185\u5bb9&#xff0c;\u4e5f\u5c31\u662f\u8fd4\u56de\u7a7a\u7684\u610f\u601d\u3002<br \/>\nNone\u7c7b\u578b\u7684\u4f7f\u7528\u573a\u666f&#xff1a;<br \/>\n1\u3001\u7528\u5728\u51fd\u6570\u65e0\u8fd4\u56de\u503c<br \/>\n2\u3001\u7528\u5728if\u5224\u65ad\u4e0a<br \/>\n&#xff08;1&#xff09;\u5728if\u5224\u65ad\u4e2dNone\u76f8\u5f53\u4e8eFalse<br \/>\n&#xff08;2&#xff09;\u4e00\u822c\u7528\u5728\u51fd\u6570\u4e2d\u4e3b\u52a8\u8fd4\u56deNone&#xff0c;\u914d\u5408if\u5224\u65ad\u505a\u76f8\u5173\u5904\u7406<br \/>\n3\u3001\u7528\u4e8e\u58f0\u660e\u65e0\u5185\u5bb9\u7684\u53d8\u91cf\u4e0a<br \/>\n&#xff08;1&#xff09;\u5b9a\u4e49\u53d8\u91cf&#xff0c;\u4f46\u6682\u65f6\u4e0d\u9700\u8981\u53d8\u91cf\u6709\u5177\u4f53\u7684\u503c&#xff0c;\u53ef\u4ee5\u7528None\u7c7b\u578bl<\/p>\n<p>\u7ec3\u4e60<\/p>\n<p>#  \u9700\u6c42&#xff1a;\u8981\u6c42\u4f7f\u7528\u51fd\u6570\u5b8c\u6210\u4e24\u4e2a\u6570\u636e\u76f8\u52a0\u7684\u529f\u80fd&#xff0c;\u8981\u6c42\u8fd4\u56de<br \/>\ndef add(a,b):<br \/>\n    result &#061; a &#043; b<br \/>\n    return result<br \/>\nr &#061; add(1,2)<br \/>\nprint(r)<\/p>\n<p>#\u5b9a\u4e49\u4e24\u4e2a\u6570\u76f8\u52a0\u7684\u51fd\u6570\u529f\u80fd&#xff0c;\u5b8c\u6210\u529f\u80fd\u540e&#xff0c;\u4f1a\u5c06\u76f8\u52a0\u7684\u7ed3\u679c\u8fd4\u56de\u7ed9\u8c03\u7528\u8005&#xff0c;\u6240\u4ee5\u53d8\u91cfr\u63a5\u6536\u5230\u51fd\u6570\u7684\u6267\u884c\u7ed3\u679c\u3002<\/p>\n<p>def add2(a,b):<br \/>\n    result &#061; a &#043; b<br \/>\nr2 &#061; add2(1,2)<br \/>\nprint(r2)<br \/>\nprint(type(r2))<\/p>\n<p># \u65e0return\u8bed\u53e5\u7684\u51fd\u6570<br \/>\ndef add2(a,b):<br \/>\n    result &#061; a &#043; b<br \/>\nr2 &#061; add2(1,2)<br \/>\nprint(r2)<\/p>\n<p># \u4e3b\u52a8\u8fd4\u56deNone<br \/>\ndef say_hi():<br \/>\n    print(&#034;hello func!&#034;)<br \/>\n    return None<br \/>\nresult &#061; say_hi()<br \/>\nprint(f&#034;\u4e3b\u52a8\u8fd4\u56deNone\u51fd\u6570\u7684\u5185\u5bb9\u662f&#xff1a;{result},\u5176\u7c7b\u578b\u662f&#xff1a;{type(result)}&#034;)<\/p>\n<p># None \u7528\u5728if\u5224\u65ad\u4e0a<br \/>\ndef check_age(age):<br \/>\n    if age &gt; 18:<br \/>\n        return &#034;\u6210\u5e74&#xff01;&#034;<br \/>\n    else:<br \/>\n        return None<br \/>\nresult2 &#061; check_age(17)<br \/>\nif not result2:<br \/>\n    print(&#034;\u5e74\u9f84\u5c0f\u4e8e18&#034;)<\/p>\n<p># \u7528\u5728\u58f0\u660e\u53d8\u91cf\u4e0a<br \/>\nname &#061; None<br \/>\nage &#061; None<\/p>\n<p>\u4e94\u3001\u51fd\u6570\u8bf4\u660e\u6587\u6863<\/p>\n<p>\u638c\u63e1\u901a\u8fc7\u6ce8\u91ca\u5bf9\u51fd\u6570\u8fdb\u884c\u89e3\u91ca\u8bf4\u660e<br \/>\n\u51fd\u6570\u662f\u7eaf\u4ee3\u7801\u8bed\u8a00&#xff0c;\u60f3\u8981\u7406\u89e3\u5176\u542b\u4e49\u5c31\u9700\u8981\u4e00\u884c\u884c\u53bb\u9605\u8bfb\u7406\u89e3\u4ee3\u7801&#xff0c;\u6548\u7387\u6bd4\u8f83\u4f4e<br \/>\n\u53ef\u4ee5\u7ed9\u51fd\u6570\u6dfb\u52a0\u8bf4\u660e\u6587\u6863&#xff0c;\u8f85\u52a9\u7406\u89e3\u51fd\u6570\u7684\u4f5c\u7528\u3002<\/p>\n<p># \u51fd\u6570\u8bf4\u660e\u6587\u6863\u8bed\u6cd5\u683c\u5f0f&#xff1a;<br \/>\ndef func(x,y):<br \/>\n    &#034;&#034;&#034;<br \/>\n    \u51fd\u6570\u8bf4\u660e<br \/>\n    :param x: \u5f62\u53c2x\u7684\u8bf4\u660e<br \/>\n    :param y: \u5f62\u53c2y\u7684\u8bf4\u660e<br \/>\n    :return: \u8fd4\u56de\u503c<br \/>\n    &#034;&#034;&#034;<br \/>\n    \u51fd\u6570\u4f53<br \/>\n    return \u8fd4\u56de\u503c<\/p>\n<p># \u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570&#xff0c;\u8fdb\u884c\u6587\u6863\u8bf4\u660e<br \/>\ndef add(a,b):<br \/>\n    &#034;&#034;&#034;<br \/>\n    add\u51fd\u6570\u53ef\u4ee5\u63a5\u65362\u4e2a\u53c2\u6570&#xff0c;\u8fdb\u884c\u4e24\u6570\u76f8\u52a0\u7684\u529f\u80fd\u3002<br \/>\n    :param a: \u5f62\u53c2a\u8868\u793a\u76f8\u52a0\u7684\u4e00\u4e2a\u6570\u5b57<br \/>\n    :param b: \u5f62\u53c2a\u8868\u793a\u76f8\u52a0\u7684\u53e6\u4e00\u4e2a\u6570\u5b57<br \/>\n    :return: \u8fd4\u56de\u503c\u662f\u4e24\u6570\u76f8\u52a0\u7684\u7ed3\u679c<br \/>\n    &#034;&#034;&#034;<br \/>\n    result &#061; a &#043; b<br \/>\n    print(f&#034;a&#043;b\u7684\u7ed3\u679c\u662f&#xff1a;{result}&#034;)<br \/>\n    return result<\/p>\n<p># \u4f7f\u7528\u51fd\u6570,\u5728pycharm\u4e2d\u7f16\u5199\u4ee3\u7801\u65f6&#xff0c;\u53ef\u4ee5\u901a\u8fc7\u9f20\u6807\u60ac\u505c&#xff0c;\u67e5\u770b\u8c03\u7528\u51fd\u6570\u7684\u8bf4\u660e\u6587\u6863\u3002<br \/>\nadd(1,2)<\/p>\n<p>\u516d\u3001\u51fd\u6570\u7684\u5d4c\u5957\u4f7f\u7528<\/p>\n<p>\u5b66\u4e60\u76ee\u6807&#xff1a;<br \/>\n    1\u3001\u638c\u63e1\u51fd\u6570\u7684\u5d4c\u5957\u4f7f\u7528<br \/>\n    2\u3001\u7406\u89e3\u5d4c\u5957\u8c03\u7528\u7684\u6267\u884c\u6d41\u7a0b<\/p>\n<p>\u51fd\u6570\u5d4c\u5957\u8c03\u7528&#xff1a;\u6307\u7684\u662f\u4e00\u4e2a\u51fd\u6570\u91cc\u9762\u53c8\u8c03\u7528\u4e86\u53e6\u5916\u4e00\u4e2a\u51fd\u6570&#xff0c;<br \/>\n\u6267\u884c\u6d41\u7a0b&#xff1a;\u5982\u679c\u51fd\u6570A\u4e2d&#xff0c;\u8c03\u7528\u53e6\u5916\u4e00\u4e2a\u51fd\u6570B,\u90a3\u4e48\u5148\u628a\u51fd\u6570B\u4e2d\u7684\u4efb\u52a1\u90fd\u6267\u884c\u5b8c\u6bd5\u4e4b\u540e\u624d\u4f1a\u56de\u5230\u4e0a\u6b21\u51fd\u6570A\u6267\u884c\u7684\u5730\u65b9\u7ee7\u7eed\u6267\u884c<\/p>\n<p># \u5b9a\u4e49\u51fd\u6570B<br \/>\ndef func_B():<br \/>\n    print(&#034;***1***&#034;)<br \/>\n#\u5b9a\u4e49\u51fd\u6570A<br \/>\ndef func_A():<br \/>\nprint(&#034;2&#034;)<br \/>\n# \u4f7f\u7528\u51fd\u6570B<br \/>\nfunc_B()<br \/>\nprint(&#034;3&#034;)<br \/>\n#\u8c03\u7528\u51fd\u6570A<br \/>\nfunc_A()<\/p>\n<p>\u4e03\u3001\u53d8\u91cf\u4f5c\u7528\u57df<\/p>\n<p>    1\u3001\u4e86\u89e3\u4ec0\u4e48\u662f\u5c40\u90e8\u53d8\u91cf<br \/>\n    2\u3001\u4e86\u89e3\u4ec0\u4e48\u662f\u5168\u5c40\u53d8\u91cf<br \/>\n\u53d8\u91cf\u7684\u4f5c\u7528\u57df&#xff08;\u4f5c\u7528\u8303\u56f4&#xff09;&#xff1a;\u53d8\u91cf\u4f5c\u7528\u57df\u6307\u7684\u662f\u53d8\u91cf\u7684\u4f5c\u7528\u8303\u56f4&#xff08;\u53d8\u91cf\u5728\u54ea\u91cc\u53ef\u7528&#xff0c;\u54ea\u91cc\u4e0d\u53ef\u7528&#xff09;<br \/>\n\u53d8\u91cf\u7684\u4f5c\u7528\u57df\u5206\u7c7b&#xff1a;<br \/>\n\u5c40\u90e8\u53d8\u91cf&#xff1a;\u5728\u51fd\u6570\u4f53\u5185\u90e8\u7684\u53d8\u91cf&#xff0c;\u5373\u53ea\u5728\u51fd\u6570\u4f53\u5185\u751f\u6548<br \/>\n\u5c40\u90e8\u53d8\u91cf\u4f5c\u7528&#xff1a;\u5728\u51fd\u6570\u4f53\u5185\u90e8&#xff0c;\u4e34\u65f6\u4fdd\u5b58\u6570\u636e&#xff0c;\u5373\u5f53\u51fd\u6570\u8c03\u7528\u5b8c\u540e&#xff0c;\u5219\u9500\u6bc1\u5c40\u90e8\u53d8\u91cf<br \/>\n\u5168\u5c40\u53d8\u91cf&#xff1a;\u6307\u7684\u662f\u5728\u51fd\u6570\u4f53\u5185\u3001\u5916\u90fd\u80fd\u751f\u6548\u7684\u53d8\u91cf<br \/>\nglobal \u5173\u952e\u5b57&#xff1a;\u53ef\u4ee5\u5728\u51fd\u6570\u4f53\u5185\u90e8\u58f0\u660e\u53d8\u91cf\u4e3a\u5168\u5c40\u53d8\u91cf<\/p>\n<p>#\u5c40\u90e8\u53d8\u91cf<br \/>\ndef test_A():<br \/>\n    num &#061; 100<br \/>\n    print(num)<\/p>\n<p>test_A()<\/p>\n<p>print(num)  # NameError: name &#039;num&#039; is not defined. Did you mean: &#039;sum&#039;?<\/p>\n<p>#\u5168\u5c40\u53d8\u91cf<br \/>\n# \u5b9a\u4e49\u4e00\u4e2a\u5168\u5c40\u53d8\u91cf<br \/>\na &#061; 100<\/p>\n<p># \u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570B<br \/>\ndef test_B():<br \/>\n    print(a)<\/p>\n<p>def test_C():<br \/>\n    print(a)<\/p>\n<p>test_B()<br \/>\ntest_C()<\/p>\n<p># \u5728\u51fd\u6570\u5185\u4fee\u6539\u5168\u5c40\u53d8\u91cf<br \/>\n# \u5b9a\u4e49\u4e00\u4e2a\u5168\u5c40\u53d8\u91cf<br \/>\na &#061; 100<\/p>\n<p># \u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570B<br \/>\ndef test_B():<br \/>\n    print(a)<\/p>\n<p>def test_C():<br \/>\n    global a<br \/>\n    a &#061; 200<br \/>\n    print(a)<\/p>\n<p>test_B()<br \/>\ntest_C()<\/p>\n<p>print(a)<\/p>\n<p>\u516b\u3001\u7efc\u5408\u6848\u4f8b<\/p>\n<p>\u7efc\u5408\u6848\u4f8b&#xff1a;\u6570\u52a0ATM<br \/>\n\u5b9a\u4e49\u4e00\u4e2a\u5168\u5c40\u53d8\u91cf&#xff1a;money&#xff0c;\u7528\u6765\u8bb0\u5f55\u94f6\u884c\u5361\u4f59\u989d&#xff08;\u9ed8\u8ba4\u4f59\u989d\u4e3a&#xff1a;60000000&#xff09;<br \/>\n\u5b9a\u4e49\u4e00\u4e2a\u5168\u5c40\u53d8\u91cf&#xff1a;name&#xff0c;\u7528\u6765\u8bb0\u5f55\u5ba2\u6237\u59d3\u540d&#xff08;\u7a0b\u5e8f\u542f\u52a8\u65f6\u8f93\u5165&#xff09;<br \/>\n\u5b9a\u4e49\u5982\u4e0b\u51fd\u6570&#xff1a;<br \/>\n    \u67e5\u8be2\u4f59\u989d\u51fd\u6570<br \/>\n    \u5b58\u6b3e\u51fd\u6570<br \/>\n    \u53d6\u6b3e\u51fd\u6570<br \/>\n    \u4e3b\u83dc\u5355\u51fd\u6570<br \/>\n\u8981\u6c42&#xff1a;<br \/>\n    \u7a0b\u5e8f\u542f\u52a8\u540e\u8981\u6c42\u8f93\u5165\u5ba2\u6237\u59d3\u540d<br \/>\n    \u67e5\u8be2\u4f59\u989d\u3001\u5b58\u6b3e\u3001\u53d6\u6b3e\u540e\u90fd\u4f1a\u8fd4\u56de\u4e3b\u83dc\u5355<br \/>\n    \u5b58\u6b3e\u3001\u53d6\u6b3e\u540e&#xff0c;\u90fd\u5e94\u663e\u793a\u4e00\u4e0b\u5f53\u524d\u4f59\u989d<br \/>\n    \u5ba2\u6237\u9009\u62e9\u9000\u51fa\u6216\u8005\u8f93\u5165\u9519\u8bef&#xff0c;\u7a0b\u5e8f\u4f1a\u9000\u51fa&#xff0c;\u5426\u5219\u4f1a\u4e00\u76f4\u8fd0\u884c<\/p>\n<p>\u4e3b\u83dc\u5355\u6548\u679c&#xff1a;<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;\u4e3b\u83dc\u5355&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nxxxx&#xff0c;\u60a8\u597d&#xff0c;\u6b22\u8fce\u6765\u5230\u6570\u52a0\u94f6\u884cATM\u3002\u8bf7\u9009\u62e9\u64cd\u4f5c&#xff1a;<br \/>\n\u67e5\u8be2\u4f59\u989d  \u3010\u8bf7\u8f93\u51651\u3011<br \/>\n\u5b58\u6b3e     \u3010\u8bf7\u8f93\u51652\u3011<br \/>\n\u53d6\u6b3e    \u3010\u8bf7\u8f93\u51653\u3011<br \/>\n\u9000\u51fa   \u3010\u8bf7\u8f93\u51654\u3011<br \/>\n\u8bf7\u8f93\u5165\u60a8\u7684\u9009\u62e9&#xff1a;<br \/>\n\u67e5\u8be2\u4f59\u989d\u7684\u6548\u679c&#xff1a;<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;\u67e5\u8be2\u4f59\u989d&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nxxxx&#xff0c;\u60a8\u597d&#xff0c;\u60a8\u7684\u4f59\u989d\u5269\u4f59&#xff1a;60000000\u5143<br \/>\n\u5b58\u3001\u53d6\u6b3e\u6548\u679c:<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;\u5b58\u6b3e&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nxxxx,\u60a8\u597d&#xff0c;\u4f60\u5b58\u6b3e50000\u5143\u6210\u529f&#xff01;<br \/>\nxxxx&#xff0c;\u60a8\u597d&#xff0c;\u60a8\u7684\u4f59\u989d\u5269\u4f59&#xff1a;60050000\u5143.<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;\u53d6\u6b3e&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nxxxx,\u60a8\u597d&#xff0c;\u4f60\u53d6\u6b3e50000\u5143\u6210\u529f&#xff01;<br \/>\nxxxx&#xff0c;\u60a8\u597d&#xff0c;\u60a8\u7684\u4f59\u989d\u5269\u4f59&#xff1a;60000000\u5143.<\/p>\n<p># \u5b9a\u4e49\u5168\u5c40\u53d8\u91cf<br \/>\nmoney &#061; 60000000<br \/>\nname &#061; None<br \/>\n# \u8981\u6c42\u8f93\u5165\u59d3\u540d<br \/>\nname &#061; input(&#034;\u8bf7\u8f93\u5165\u60a8\u7684\u59d3\u540d&#xff1a;&#034;)<\/p>\n<p># \u5b9a\u4e49\u67e5\u8be2\u4f59\u989d\u51fd\u6570<br \/>\ndef query(is_show):<br \/>\n    if is_show:<br \/>\n        print(&#034;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;\u67e5\u8be2\u4f59\u989d&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&#034;)<br \/>\n    print(f&#034;{name}&#xff0c;\u60a8\u597d&#xff0c;\u60a8\u7684\u4f59\u989d\u5269\u4f59&#xff1a;{money}&#034;)<\/p>\n<p># \u5b9a\u4e49\u5b58\u6b3e\u51fd\u6570<br \/>\ndef saving(num):<br \/>\n    global money<br \/>\n    money &#043;&#061; num<br \/>\n    print(&#034;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;\u5b58\u6b3e&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&#034;)<br \/>\n    print(f&#034;{name}, \u60a8\u597d&#xff0c;\u4f60\u5b58\u6b3e{num}\u5143\u6210\u529f&#xff01;&#034;)<br \/>\n    # \u8c03\u7528\u67e5\u8be2\u51fd\u6570<br \/>\n    query(False)<\/p>\n<p># \u5b9a\u4e49\u53d6\u6b3e\u51fd\u6570<br \/>\ndef get_money(num):<br \/>\n    global money<br \/>\n    money -&#061; num<br \/>\n    print(&#034;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;\u53d6\u6b3e &#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&#034;)<br \/>\n    print(f&#034;{name}, \u60a8\u597d&#xff0c;\u4f60\u53d6\u6b3e{num}\u5143\u6210\u529f&#xff01;&#034;)<br \/>\n    query(False)<\/p>\n<p># \u5b9a\u4e49\u4e3b\u83dc\u5355\u51fd\u6570<br \/>\ndef main():<br \/>\n    print(&#034;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;\u4e3b\u83dc\u5355&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&#034;)<br \/>\n    print(f&#034;{name}&#xff0c;\u60a8\u597d&#xff0c;\u6b22\u8fce\u6765\u5230\u6570\u52a0\u94f6\u884cATM\u3002\u8bf7\u9009\u62e9\u64cd\u4f5c&#xff1a;&#034;)<br \/>\n    print(&#034;\u67e5\u8be2\u4f59\u989d  \u3010\u8bf7\u8f93\u51651\u3011&#034;)<br \/>\n    print(&#034;\u5b58\u6b3e     \u3010\u8bf7\u8f93\u51652\u3011&#034;)<br \/>\n    print(&#034;\u53d6\u6b3e    \u3010\u8bf7\u8f93\u51653\u3011&#034;)<br \/>\n    print(&#034;\u9000\u51fa   \u3010\u8bf7\u8f93\u51654\u3011&#034;)<br \/>\n    return input(&#034;\u8bf7\u8f93\u5165\u60a8\u7684\u9009\u62e9&#xff1a;&#034;)<\/p>\n<p># \u7a0b\u5e8f\u4e00\u76f4\u6267\u884c \u65e0\u9650\u5faa\u73af<br \/>\nwhile True:<br \/>\n    # \u8c03\u7528\u4e3b\u83dc\u5355\u51fd\u6570<br \/>\n    key_word &#061; main()<br \/>\n    # print(key_word)<br \/>\n    # \u5224\u65ad\u7528\u6237\u7684\u9009\u62e9<br \/>\n    if key_word &#061;&#061; &#034;1&#034;:<br \/>\n        query(True)<br \/>\n        # \u7ed3\u675f\u672c\u6b21\u5faa\u73af<br \/>\n        continue<br \/>\n    elif key_word &#061;&#061; &#034;2&#034;:<br \/>\n        # \u8f93\u5165\u5b58\u7684\u94b1<br \/>\n        num &#061; int(input(&#034;\u8bf7\u8f93\u5165\u60a8\u8981\u5b58\u591a\u5c11\u94b1&#xff1a;&#034;))<br \/>\n        saving(num)<br \/>\n        # \u7ed3\u675f\u672c\u6b21\u5faa\u73af<br \/>\n        continue<br \/>\n    elif key_word &#061;&#061; &#034;3&#034;:<br \/>\n        # \u53d6\u591a\u5c11\u94b1<br \/>\n        num &#061; int(input(&#034;\u8bf7\u8f93\u5165\u60a8\u53d6\u6b3e\u591a\u5c11\u94b1?&#034;))<br \/>\n        get_money(num)<br \/>\n        # \u7ed3\u675f\u672c\u6b21\u5faa\u73af<br \/>\n        continue<br \/>\n    else:<br \/>\n        print(f&#034;\u7a0b\u5e8f\u9000\u51fa&#034;)<br \/>\n        break<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6458\u8981&#xff1a;\u672c\u6587\u7cfb\u7edf\u4ecb\u7ecd\u4e86 Python \u51fd\u6570\u7684\u57fa\u7840\u77e5\u8bc6&#xff0c;\u6db5\u76d6\u51fd\u6570\u5b9a\u4e49\u3001\u53c2\u6570\u4f20\u9012\u3001\u8fd4\u56de\u503c\u3001\u8bf4\u660e\u6587\u6863\u3001\u5d4c\u5957\u8c03\u7528\u3001\u53d8\u91cf\u4f5c\u7528\u57df\u7b49\u6838\u5fc3\u6982\u5ff5&#xff0c;\u5e76\u901a\u8fc7\u591a\u4e2a\u4ee3\u7801\u793a\u4f8b\u548c\u7efc\u5408\u6848\u4f8b&#xff08;\u6570\u52a0 ATM&#xff09;\u5e2e\u52a9\u8bfb\u8005\u4ece\u96f6\u5f00\u59cb\u638c\u63e1\u51fd\u6570\u7684\u4f7f\u7528\u3002\u6587\u7ae0\u7ed3\u6784\u6e05\u6670&#xff0c;\u4ece\u57fa\u7840\u8bed\u6cd5\u5230\u5b9e\u9645\u5e94\u7528\u5c42\u5c42\u9012\u8fdb&#xff0c;\u9002\u5408 Python \u521d\u5b66\u8005\u5b66\u4e60\u3002\u4e00\u3001\u51fd\u6570\u4ecb\u7ecd1\u3001\u638c\u63e1\u51fd\u6570\u7684\u57fa\u7840\u5b9a\u4e49\u8bed\u6cd5\u683c\u5f0f \u51fd\u6570\u5b9a\u4e49\u8bed\u6cd5\u683c\u5f0f&#xff1a;\u51fd\u6570\u5b9a\u4e49\u8bed\u6cd5\u683c\u5f0f&amp;#xff1<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[81,371],"topic":[],"class_list":["post-89812","post","type-post","status-publish","format-standard","hentry","category-server","tag-python","tag-371"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python\u5b66\u4e60-\u51fd\u6570\u7684\u57fa\u7840\u77e5\u8bc6 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/89812.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python\u5b66\u4e60-\u51fd\u6570\u7684\u57fa\u7840\u77e5\u8bc6 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6458\u8981&#xff1a;\u672c\u6587\u7cfb\u7edf\u4ecb\u7ecd\u4e86 Python \u51fd\u6570\u7684\u57fa\u7840\u77e5\u8bc6&#xff0c;\u6db5\u76d6\u51fd\u6570\u5b9a\u4e49\u3001\u53c2\u6570\u4f20\u9012\u3001\u8fd4\u56de\u503c\u3001\u8bf4\u660e\u6587\u6863\u3001\u5d4c\u5957\u8c03\u7528\u3001\u53d8\u91cf\u4f5c\u7528\u57df\u7b49\u6838\u5fc3\u6982\u5ff5&#xff0c;\u5e76\u901a\u8fc7\u591a\u4e2a\u4ee3\u7801\u793a\u4f8b\u548c\u7efc\u5408\u6848\u4f8b&#xff08;\u6570\u52a0 ATM&#xff09;\u5e2e\u52a9\u8bfb\u8005\u4ece\u96f6\u5f00\u59cb\u638c\u63e1\u51fd\u6570\u7684\u4f7f\u7528\u3002\u6587\u7ae0\u7ed3\u6784\u6e05\u6670&#xff0c;\u4ece\u57fa\u7840\u8bed\u6cd5\u5230\u5b9e\u9645\u5e94\u7528\u5c42\u5c42\u9012\u8fdb&#xff0c;\u9002\u5408 Python \u521d\u5b66\u8005\u5b66\u4e60\u3002\u4e00\u3001\u51fd\u6570\u4ecb\u7ecd1\u3001\u638c\u63e1\u51fd\u6570\u7684\u57fa\u7840\u5b9a\u4e49\u8bed\u6cd5\u683c\u5f0f \u51fd\u6570\u5b9a\u4e49\u8bed\u6cd5\u683c\u5f0f&#xff1a;\u51fd\u6570\u5b9a\u4e49\u8bed\u6cd5\u683c\u5f0f&amp;#xff1\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/89812.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-03T13:24:34+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/89812.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/89812.html\",\"name\":\"Python\u5b66\u4e60-\u51fd\u6570\u7684\u57fa\u7840\u77e5\u8bc6 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-03T13:24:34+00:00\",\"dateModified\":\"2026-08-03T13:24:34+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/89812.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/89812.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/89812.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\u5b66\u4e60---\u51fd\u6570\u7684\u57fa\u7840\u77e5\u8bc6\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python\u5b66\u4e60-\u51fd\u6570\u7684\u57fa\u7840\u77e5\u8bc6 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/89812.html","og_locale":"zh_CN","og_type":"article","og_title":"Python\u5b66\u4e60-\u51fd\u6570\u7684\u57fa\u7840\u77e5\u8bc6 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6458\u8981&#xff1a;\u672c\u6587\u7cfb\u7edf\u4ecb\u7ecd\u4e86 Python \u51fd\u6570\u7684\u57fa\u7840\u77e5\u8bc6&#xff0c;\u6db5\u76d6\u51fd\u6570\u5b9a\u4e49\u3001\u53c2\u6570\u4f20\u9012\u3001\u8fd4\u56de\u503c\u3001\u8bf4\u660e\u6587\u6863\u3001\u5d4c\u5957\u8c03\u7528\u3001\u53d8\u91cf\u4f5c\u7528\u57df\u7b49\u6838\u5fc3\u6982\u5ff5&#xff0c;\u5e76\u901a\u8fc7\u591a\u4e2a\u4ee3\u7801\u793a\u4f8b\u548c\u7efc\u5408\u6848\u4f8b&#xff08;\u6570\u52a0 ATM&#xff09;\u5e2e\u52a9\u8bfb\u8005\u4ece\u96f6\u5f00\u59cb\u638c\u63e1\u51fd\u6570\u7684\u4f7f\u7528\u3002\u6587\u7ae0\u7ed3\u6784\u6e05\u6670&#xff0c;\u4ece\u57fa\u7840\u8bed\u6cd5\u5230\u5b9e\u9645\u5e94\u7528\u5c42\u5c42\u9012\u8fdb&#xff0c;\u9002\u5408 Python \u521d\u5b66\u8005\u5b66\u4e60\u3002\u4e00\u3001\u51fd\u6570\u4ecb\u7ecd1\u3001\u638c\u63e1\u51fd\u6570\u7684\u57fa\u7840\u5b9a\u4e49\u8bed\u6cd5\u683c\u5f0f \u51fd\u6570\u5b9a\u4e49\u8bed\u6cd5\u683c\u5f0f&#xff1a;\u51fd\u6570\u5b9a\u4e49\u8bed\u6cd5\u683c\u5f0f&amp;#xff1","og_url":"https:\/\/www.wsisp.com\/helps\/89812.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-03T13:24:34+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/89812.html","url":"https:\/\/www.wsisp.com\/helps\/89812.html","name":"Python\u5b66\u4e60-\u51fd\u6570\u7684\u57fa\u7840\u77e5\u8bc6 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-03T13:24:34+00:00","dateModified":"2026-08-03T13:24:34+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/89812.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/89812.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/89812.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Python\u5b66\u4e60---\u51fd\u6570\u7684\u57fa\u7840\u77e5\u8bc6"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/89812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=89812"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/89812\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=89812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=89812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=89812"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=89812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}