{"id":9237,"date":"2016-05-29T12:26:32","date_gmt":"2016-05-29T16:26:32","guid":{"rendered":"http:\/\/cscircles.cemc.uwaterloo.ca\/?page_id=9237"},"modified":"2017-08-09T14:23:13","modified_gmt":"2017-08-09T18:23:13","slug":"zh-7c","status":"publish","type":"page","link":"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/zh-7c\/","title":{"rendered":"7C: \u5faa\u73af"},"content":{"rendered":"<!-- Please retain this notice and add more notes if you create a new version.<br \/>\nOriginal lesson author: David Pritchard, daveagp@gmail.com, http:\/\/cscircles.ca<br \/>\nLicense: http:\/\/creativecommons.org\/licenses\/by-nc-sa\/3.0\/-->\n<p><em>\u7b2c\u4e03\u8282\u8bfe\u6709\u4e09\u4e2a\u90e8\u5206A, B, C\uff0c\u987a\u5e8f\u4e0d\u9650\u3002<\/em><\/p>\n<p>\u5230\u76ee\u524d\u4e3a\u6b62\uff0c\u6211\u4eec\u5b66\u4e60\u4e86\u57fa\u672c\u7684\u7f16\u7a0b\u6307\u4ee4\uff08\u6bd4\u5982\u8d4b\u503c\uff0c\u6253\u5370\uff09\uff0c\u901a\u8fc7<code>if<\/code>\u8bed\u53e5\u53ef\u4ee5\u6765\u63a7\u5236\u6267\u884c\u54ea\u4e00\u4e2a\u8bed\u53e5\u3002\u8fd9\u8282\u8bfe\uff0c\u6211\u4eec\u4ecb\u7ecd<strong>\u5faa\u73af<\/strong>\uff08\u6709\u65f6\u4e5f\u53eb\u505a<strong>\u91cd\u590d<\/strong>\u6216<strong>\u8fed\u4ee3<\/strong>)\uff1a\u8ba9\u8ba1\u7b97\u673a\u91cd\u590d\u505a\u540c\u4e00\u4ef6\u4e8b\uff08\u6216\u76f8\u4f3c\u7684\u4e8b\uff09\u3002\u6bd4\u5982\uff0c\u67e5\u770b\u6587\u6863\u4e2d\u7684<em>\u6bcf\u4e00\u4e2a<\/em>\u8bcd\u53ef\u4ee5\u901a\u8fc7\u5faa\u73af\u5b9e\u73b0\u3002\u5728\u8fd9\u8282\u8bfe\u4e2d\u6211\u4eec\u4f1a\u63cf\u8ff0\u4e24\u79cdPython\u5faa\u73af\uff1a<code>while<\/code>\u5faa\u73af\u548c<code>for<\/code>\u5faa\u73af\u3002<\/p>\n<h2><code>while<\/code>\u5faa\u73af<\/h2>\n<p>\u4e00\u4e2a<code>while<\/code>\u8bed\u53e5\u4f1a\u4e00\u904d\u53c8\u4e00\u904d\u7684\u91cd\u590d\u4e00\u6bb5\u4ee3\u7801\uff0c\u53ea\u8981\u67d0\u4e9b\u6761\u4ef6\u662f\u6b63\u786e\u7684\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u4f8b\u5b50\uff1a<\/p>\n<p><iframe width='100%' height='480' frameborder='0' scrolling='no' src='https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-content\/plugins\/pybox\/OnlinePythonTutor3-cemc\/iframe-embed.html#code=timeLeft+%3D+5%0Awhile+timeLeft+%3E+0%3A++++++%23+condition%0A++print%28timeLeft%29++++++++%23+body%0A++timeLeft+%3D+timeLeft-1++%23+body%0Aprint%28%27Blastoff%21%27%29+++++++%23+after+loop&cumulative=false&heapPrimitives=false&drawParentPointers=false&textReferences=false&showOnlyOutputs=false&py=3&curInstr=0&resizeContainer=true&highlightLines&width=450&rightStdout=1'><\/iframe><\/p>\n<p>\u4e0b\u9762\u662f\u4e00\u822c\u7684\u7ed3\u6784\uff1a<\/p>\n<ul>\n<li>\u7b2c\u4e00\u884c\u662f<code>while \u00ab\u6761\u4ef6\u00bb\uff1a<\/code>\u00ab\u6761\u4ef6\u00bb\u00a0\u662f\u4e00\u4e2a\u5224\u65ad\u8868\u8fbe\u5f0f\uff08\u8f93\u51fa<code>True<\/code>\u6216<code>False<\/code>\uff08Boolean\u8868\u8fbe\u5f0f\uff0c\u548c<code>if<\/code> \u8bed\u53e5\u7c7b\u4f3c\uff09\u3002<\/li>\n<li>\u4e4b\u540e\uff0c\u6211\u4eec\u63d2\u5165\u4e00\u4e2a\u7f29\u8fdb\u5757\uff08\u5c31\u50cf\u6211\u4eec\u5728<code>if<\/code>\u8bed\u53e5\u4e2d\u505a\u5f97\u90a3\u6837\uff09\uff0c\u8f93\u5165\u6211\u4eec\u60f3\u91cd\u590d\u505a\u7684\u4e8b\u60c5\u3002\u8fd9\u4e2a\u53eb\u505a<em>\u4e3b\u4f53<\/em>\u3002<\/li>\n<li>\u5f53\u4f60\u8fd0\u884c\u7a0b\u5e8f\u65f6\uff0c\u4f1a\u91cd\u590d\u4ee5\u4e0b\u4e8b\u60c5\uff1a\n<ul>\n<li>\u68c0\u67e5\u6761\u4ef6\uff1b\u5982\u679c\u6761\u4ef6\u662f\u6b63\u786e\u7684\uff08<code>True<\/code>\uff09\uff0c\u90a3\u4e48\u4e3b\u4f53\u5c31\u4f1a\u8fd0\u884c\uff0c\u8fd0\u884c\u540e\u56de\u5230\u68c0\u67e5\u6761\u4ef6\uff1b\u4e00\u65e6\u67d0\u4e00\u6b21\u6761\u4ef6\u662f\u9519\u8bef\u7684\uff08<code>False<\/code>\uff09\uff0c\u5faa\u73af\u5c31\u505c\u6b62\u4e86\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u6240\u4ee5\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f1a\u4e00\u76f4\u5faa\u73af\u4e3b\u4f53\u76f4\u5230<code>timeLeft<\/code>\u5c0f\u4e8e\u7b49\u4e8e0\u3002<\/p>\n<p><form class=\"pbform\" action=\"#\" id=\"pbform0\" method=\"POST\">\n<div class='pybox modeNeutral ' id='pybox0'>\n<img title='You have not yet completed this problem.' src='https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-content\/plugins\/pybox\/files\/icon.png' class='pycheck'\/><div class=\"heading\"><span class='type'>Coding Exercise: <\/span><span class='title'>\u5411\u4e0a\u6570<\/span><\/div>\u66f4\u6539\u4e0a\u9762\u7684\u4f8b\u5b50\uff0c\u5f97\u5230\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u4ece1\u6570\u5230<strong>10<\/strong>\uff0c\u7136\u540e\u6253\u5370<code>Blastoff!<\/code>\u3002<div class=\"helpOuter\" style=\"display: none;\"><div class=\"helpInner\"><div style=\"text-align: center\">You need to create an account and log in to ask a question.<\/div><\/div><\/div><div class='pyboxTextwrap pyboxCodewrap RW resizy'  style='height: 526px;'><textarea wrap='off' name='usercode0' id='usercode0'  cols=10 rows=20   class='pyboxCode RW'>\n<\/textarea><\/div>\n<div id='pbhistory0' class='flexcontain' style='display:none;'><\/div>\n<div class='pyboxbuttons'><table><tr>\n<td><input type='submit' name='submit' id='submit0' value=' '\/><\/td>\n<td><input type='button' name='consolecopy' value=\"Open in console\" onclick=\"pbConsoleCopy(0)\" ><\/td>\n<td><input type='button' name='visualize' value=\"Visualize\" onclick=\"pbVisualize(0,'N')\" ><\/td>\n<td><input type='button' name='history' value=\"History\" onclick=\"historyClick(0,'7c.countup')\" ><\/td>\n<\/tr><\/table><select id='pbSelect0' class='selectmore'><option name='more'>More actions...<\/option>\n<option name='help' data-pbonclick=\"helpClick(0);\" >Help<\/option>\n<\/select><\/div>\n<input type=\"hidden\" name=\"lang\" value=\"\"\/><input type=\"hidden\" id=\"inputInUse0\" name=\"inputInUse\" value=\"Y\"\/>\n<input type=\"hidden\" name=\"pyId\" value=\"0\"\/>\n<input type=\"hidden\" name=\"hash\" value=\"a21902af0f39e94ce422e0327e6488e8\"\/>\n<div id='pbresults0' class='pbresults avoidline'><\/div>\n<\/div>\n<\/form>\n<script type='text\/javascript'>jQuery(function(){pbToggleCodeMirror(0);});document.getElementById(\"submit0\").value = \"Run program\";document.getElementById(\"inputInUse0\").value = \"N\";<\/script>\n<\/p>\n<p><table class='pywarn'><tr><td class='pywarnleft'><img src='https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-content\/plugins\/pybox\/files\/warning.png'\/><\/td><td class='pywarnright'><span> \u4f7f\u7528\u5faa\u73af\u65f6\uff0c\u7ecf\u5e38\u4f1a\u4f7f\u5176\u53d8\u6210<em>\u65e0\u9650\u5faa\u73af<\/em>\u3002<form class=\"pbform\" action=\"#\" id=\"pbform1\" method=\"POST\">\n<div class='pybox modeNeutral  facultative' id='pybox1'>\n<div class=\"heading\"><span class=\"title\">Example<\/span><\/div>\u65e0\u9650\u5faa\u73af<div class='pyboxTextwrap pyboxCodewrap RO '  style='height: 58px;'><textarea wrap='off' name='usercode1' id='usercode1'  cols=10 rows=2 readonly='readonly'  style = 'height : 58px;'  class='pyboxCode RO'>\nwhile True:\n x=1<\/textarea><\/div>\n<div id='pbhistory1' class='flexcontain' style='display:none;'><\/div>\n<div class='pyboxbuttons'><table><tr>\n<td><input type='submit' name='submit' id='submit1' value=' '\/><\/td>\n<td><input type='button' name='consolecopy' value=\"Open in console\" onclick=\"pbConsoleCopy(1)\" ><\/td>\n<td><input type='button' name='visualize' value=\"Visualize\" onclick=\"pbVisualize(1,'N')\" ><\/td>\n<\/tr><\/table><\/div>\n<input type=\"hidden\" name=\"lang\" value=\"\"\/><input type=\"hidden\" id=\"inputInUse1\" name=\"inputInUse\" value=\"Y\"\/>\n<input type=\"hidden\" name=\"pyId\" value=\"1\"\/>\n<input type=\"hidden\" name=\"hash\" value=\"7a48ca21c722ec9b36719434e8bb9f57\"\/>\n<div id='pbresults1' class='pbresults'><\/div>\n<\/div>\n<\/form>\n<script type='text\/javascript'>document.getElementById(\"submit1\").value = \"Run program\";document.getElementById(\"inputInUse1\").value = \"N\";<\/script>\n\u4f60\u4f1a\u5f97\u5230\u9519\u8bef\u63d0\u793a\"\u8d85\u8fc7\u65f6\u9650\"\uff0c\u56e0\u4e3aCS\u00a0Circles\u7f51\u7ad9\u6709\u4e00\u4e2a\u65f6\u95f4\u9650\u5236\uff1b1\u79d2\u4e4b\u540e\u7a0b\u5e8f\u7ec8\u6b62\u3002\u5982\u679c\u4f60<a href=\"\/run-at-home\/\">\u5728\u5bb6\u91cc\u8fd0\u884c\u4e00\u4e2a\u7a0b\u5e8f<\/a>\uff0c\u5b83\u4f1a\u6c38\u8fdc\u5730\u8fd0\u884c\u4e0b\u53bb\uff08\u76f4\u5230\u4f60\u5f3a\u5236\u7ec8\u6b62\u5b83\uff0c\u901a\u5e38\u901a\u8fc7\u6309 Ctrl-C \u952e\u6765\u8fdb\u884c\u6b64\u64cd\u4f5c\uff09\u3002 <\/span><\/td><\/table><\/p>\n<h2><code>for<\/code>\u5faa\u73af<\/h2>\n<p>\u8fd9\u662fPython\u4e2d\u7684\u53e6\u4e00\u79cd\u5faa\u73af\uff0c\u540d\u4e3a<code>for<\/code>\u5faa\u73af\u3002\u5728\u5f88\u591a\u60c5\u51b5\u4e0b\uff0c\u4e24\u79cd\u5faa\u73af\uff08<code>for<\/code>\/<code>while<\/code>\uff09\u90fd\u53ef\u4ee5\u4f7f\u7528\uff0c\u4f46\u662f\u4f1a\u6709\u4e00\u79cd\u6bd4\u53e6\u4e00\u79cd\u66f4\u7b80\u5355\uff0c\u6240\u4ee5\u6700\u597d\u4e24\u79cd\u90fd\u4f1a\u4f7f\u7528\u3002<code>for<\/code>\u5faa\u73af\u66f4\u9002\u5408\u8fdb\u884c\u4e00\u4e2a\u8303\u56f4\u91cc\u6570\u5b57\u7684\u5faa\u73af\uff08\u6216\u662f\u4efb\u4f55\u6570\u636e\u5217\u8868\uff0c\u6211\u4eec\u4f1a\u5728\u540e\u9762\u7684\u8bfe\u7a0b\u4e2d\u770b\u5230\uff09\u3002<\/p>\n<p>\u4e0b\u9762\u662f\u4e00\u4e2a<code>for<\/code>\u5faa\u73af\u7684\u4f8b\u5b50\u3002<\/p>\n<p><iframe width='100%' height='480' frameborder='0' scrolling='no' src='https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-content\/plugins\/pybox\/OnlinePythonTutor3-cemc\/iframe-embed.html#code=for+counter+in+range%2810%2C+15%29%3A%0A++print%28%22counter+is%22%2C+counter%29&cumulative=false&heapPrimitives=false&drawParentPointers=false&textReferences=false&showOnlyOutputs=false&py=3&curInstr=0&resizeContainer=true&highlightLines&width=400&rightStdout=1'><\/iframe><\/p>\n<p>for \u5faa\u73af\u5728\u6570\u5b57\u4e2d\u5faa\u73af\u7684\u4e00\u822c\u7ed3\u6784\u662f<\/p>\n<pre>for \u00ab\u53d8\u91cf\u540d\u79f0\u00bb in range(\u00ab\u8d77\u59cb\u503cstartValue\u00bb, \u00ab\u7ec8\u6b62\u503ctailValue\u00bb):\r\n  \u00ab\u7f29\u8fdb\u4ee5\u53ca\u6307\u4ee4\uff0c\u540d\u4e3a\u201c\u4e3b\u4f53\u201d\u00bb<\/pre>\u901a\u5e38\uff0c\u4e3b\u4f53\u90e8\u5206\u53ef\u4ee5\u6709\u597d\u51e0\u884c\uff0c\u53ea\u8981\u8fd9\u51e0\u884c\u90fd\u6709\u540c\u6837\u7684\u7f29\u8fdb\u5e45\u5ea6\u3002\u9996\u5148\uff0c\u5faa\u73af\u7684\u4e3b\u4f53\u662f\u4ece<code>variableName<\/code>\u7684<code>startValue<\/code>\u5f00\u59cb\u8fd0\u884c\u3002\u7136\u540e\u968f\u7740<code>variableName<\/code>\u7684\u503c\u53d8\u6210<code>startValue+1<\/code>\uff0c\u4e3b\u4f53\u518d\u6b21\u8fd0\u884c\u3002\u63a5\u7740\uff0c\u53d8\u91cf\u540d\u79f0\u7684\u503c\u53d8\u6210<code>startValue+2<\/code>\u3002\u4e00\u76f4\u91cd\u590d\uff0c\u76f4\u5230<code>variableName<\/code>\u53d8\u6210<code>tailValue-1<\/code>\uff0c\u4e4b\u540e\u5faa\u73af\u505c\u6b62\u3002<\/p>\n<p><table class='pywarn'><tr><td class='pywarnleft'><img src='https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-content\/plugins\/pybox\/files\/warning.png'\/><\/td><td class='pywarnright'><span> \u5faa\u73af\u4f1a\u5728<code>tailValue-1<\/code>\u505c\u6b62\uff0c\u800c\u4e0d\u662f<code>tailValue<\/code>!<form class=\"pbform\" action=\"#\" id=\"pbform2\" method=\"POST\">\n<div class='pybox modeNeutral  facultative' id='pybox2'>\n<div class=\"heading\"><span class=\"title\">Example<\/span><\/div> <div class='pyboxTextwrap pyboxCodewrap RO '  style='height: 58px;'><textarea wrap='off' name='usercode2' id='usercode2'  cols=10 rows=2 readonly='readonly'  style = 'height : 58px;'  class='pyboxCode RO'>\nfor i in range(1, 3):\n print(i)             # 3 is not printed!<\/textarea><\/div>\n<div id='pbhistory2' class='flexcontain' style='display:none;'><\/div>\n<div class='pyboxbuttons'><table><tr>\n<td><input type='submit' name='submit' id='submit2' value=' '\/><\/td>\n<td><input type='button' name='consolecopy' value=\"Open in console\" onclick=\"pbConsoleCopy(2)\" ><\/td>\n<td><input type='button' name='visualize' value=\"Visualize\" onclick=\"pbVisualize(2,'N')\" ><\/td>\n<\/tr><\/table><\/div>\n<input type=\"hidden\" name=\"lang\" value=\"\"\/><input type=\"hidden\" id=\"inputInUse2\" name=\"inputInUse\" value=\"Y\"\/>\n<input type=\"hidden\" name=\"pyId\" value=\"2\"\/>\n<input type=\"hidden\" name=\"hash\" value=\"ec062eba34471710d281441d0e0b4b82\"\/>\n<div id='pbresults2' class='pbresults'><\/div>\n<\/div>\n<\/form>\n<script type='text\/javascript'>document.getElementById(\"submit2\").value = \"Run program\";document.getElementById(\"inputInUse2\").value = \"N\";<\/script>\n <\/span><\/td><\/table><\/p>\n<p>\u4e0b\u9762\u662f\u4e00\u4e2a for \u5faa\u73af\u5d4c\u5165\u53e6\u4e00 \u4e2a for \u5faa\u73af\u7684\u4f8b\u5b50\u3002<\/p>\n<p><form class=\"pbform\" action=\"#\" id=\"pbform3\" method=\"POST\">\n<div class='pybox modeNeutral  facultative' id='pybox3'>\n<div class=\"heading\"><span class=\"title\">Example<\/span><\/div>\u8fd9\u4e2a\u4ee3\u7801\u6253\u5370\u51fa5\u00d75\u4e2a1\u3002<br\/><strong>\u6ce8\u610f<\/strong>\uff1a\u5f53\u6211\u4eec\u5c06\u4e00\u4e2a\u6570\u5b57<code>X<\/code>\u4e5810\u518d\u52a01\uff0c\u6211\u4eec\u57fa\u672c\u4e0a\u662f\u628a<code>1<\/code>\u52a0\u5230<code>X<\/code>\u7684\u540e\u9762\u3002\u6bd4\u5982\uff0c(1867*10)+1=18671.<div class='pyboxTextwrap pyboxCodewrap RO '  style='height: 136px;'><textarea wrap='off' name='usercode3' id='usercode3'  cols=10 rows=5 readonly='readonly'  style = 'height : 136px;'  class='pyboxCode RO'>\nfor i in range(0, 5):\n  X = 0\n  for j in range(0, 5):\n    X = (X*10)+1\n  print(X)<\/textarea><\/div>\n<div id='pbhistory3' class='flexcontain' style='display:none;'><\/div>\n<div class='pyboxbuttons'><table><tr>\n<td><input type='submit' name='submit' id='submit3' value=' '\/><\/td>\n<td><input type='button' name='consolecopy' value=\"Open in console\" onclick=\"pbConsoleCopy(3)\" ><\/td>\n<td><input type='button' name='visualize' value=\"Visualize\" onclick=\"pbVisualize(3,'N')\" ><\/td>\n<\/tr><\/table><\/div>\n<input type=\"hidden\" name=\"lang\" value=\"\"\/><input type=\"hidden\" id=\"inputInUse3\" name=\"inputInUse\" value=\"Y\"\/>\n<input type=\"hidden\" name=\"pyId\" value=\"3\"\/>\n<input type=\"hidden\" name=\"hash\" value=\"c22447252b471c197803c7c39c6ccadb\"\/>\n<div id='pbresults3' class='pbresults'><\/div>\n<\/div>\n<\/form>\n<script type='text\/javascript'>document.getElementById(\"submit3\").value = \"Run program\";document.getElementById(\"inputInUse3\").value = \"N\";<\/script>\n<\/p>\n<p><form class=\"pbform\" action=\"#\" id=\"pbform4\" method=\"POST\">\n<div class='pybox modeNeutral ' id='pybox4'>\n<img title='You have not yet completed this problem.' src='https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-content\/plugins\/pybox\/files\/icon.png' class='pycheck'\/><div class=\"heading\"><span class='type'>Coding Exercise: <\/span><span class='title'>\u4e00\u4e2a\u4e09\u89d2\u578b<\/span><\/div>\u5c06\u4e0a\u4e00\u4e2a\u7a0b\u5e8f\u7528\u4e24\u79cd\u65b9\u5f0f\u66f4\u6539\u3002\u4e00\uff0c\u628a1\u4ece\u6b63\u65b9\u5f62\u6539\u6210\u4e09\u89d2\u5f62\uff1a\u25e4\u3002\u4e8c\uff0c\u5c06\u8f93\u5165\u7684\u503c\u53d8\u6210\u884c\u6570<code>input()<\/code>.\u6bd4\u5982\uff0c\u5982\u679c\u8f93\u5165\u662f<code>3<\/code>\uff0c\u8f93\u51fa\u5c31\u5e94\u8be5\u662f<\/p>\n<pre>111\r\n11\r\n1<\/pre><a class=\"hintlink\"  id=\"hintlink5\">\u70b9\u51fb\u8fd9\u91cc\u67e5\u770b\u63d0\u793a\u3002<\/a>\u00a0<div class=\"helpOuter\" style=\"display: none;\"><div class=\"helpInner\"><div style=\"text-align: center\">You need to create an account and log in to ask a question.<\/div><\/div><\/div><div class='pyboxTextwrap pyboxCodewrap RW resizy'  style='height: 526px;'><textarea wrap='off' name='usercode4' id='usercode4'  cols=10 rows=20   class='pyboxCode RW'>\nn=int(input())\n<\/textarea><\/div>\n<div id='pbhistory4' class='flexcontain' style='display:none;'><\/div>\n<input type='hidden' id='defaultCode4' value='n=int(input())\\n'><\/input>\n<div class='pyboxbuttons'><table><tr>\n<td><input type='submit' name='submit' id='submit4' value=' '\/><\/td>\n<td><input type='button' name='consolecopy' value=\"Open in console\" onclick=\"pbConsoleCopy(4)\" ><\/td>\n<td><input type='button' name='visualize' value=\"Visualize\" onclick=\"pbVisualize(4,'N')\" ><\/td>\n<td><input type='button' name='history' value=\"History\" onclick=\"historyClick(4,'7c.triangle')\" ><\/td>\n<\/tr><\/table><select id='pbSelect4' class='selectmore'><option name='more'>More actions...<\/option>\n<option name='default' data-pbonclick=\"pbSetText(4,descape($('#defaultCode4').val()))\" >Reset code to default<\/option>\n<option name='help' data-pbonclick=\"helpClick(4);\" >Help<\/option>\n<\/select><\/div>\n<input type=\"hidden\" name=\"lang\" value=\"\"\/><input type=\"hidden\" id=\"inputInUse4\" name=\"inputInUse\" value=\"Y\"\/>\n<input type=\"hidden\" name=\"pyId\" value=\"4\"\/>\n<input type=\"hidden\" name=\"hash\" value=\"e5397860ba793f557f9f03bc5b99762f\"\/>\n<div id='pbresults4' class='pbresults avoidline'><\/div>\n<\/div>\n<\/form>\n<script type='text\/javascript'>jQuery(function(){pbToggleCodeMirror(4);});document.getElementById(\"submit4\").value = \"Run program\";document.getElementById(\"inputInUse4\").value = \"N\";<\/script>\n<\/p>\n<h2>\uff08<code>break<\/code>\uff09\u4e2d\u65ad\u8bed\u53e5\u548c\uff08<code>continue<\/code>\uff09\u8fde\u7eed\u8bed\u53e5<\/h2>\n<p>\u4e2d\u65ad\u8bed\u53e5\uff08<code>break<\/code>\uff09\u662f<code>while<\/code>\u6216<code>for<\/code>\u5faa\u73af\u7684\u7d27\u6025\u51fa\u53e3\uff1a\u4e2d\u65ad\u8bed\u53e5<code>break<\/code>\u4f1a\u5bfc\u81f4\u7a0b\u5e8f\u8df3\u51fa\u5faa\u73af\uff0c\u6267\u884c\u5faa\u73af\u540e\u7684\u6307\u4ee4\u3002\u4e2d\u65ad\u8bed\u53e5<code>break<\/code>\u793a\u4f8b\uff1a\u8bfb\u53d6\u6240\u6709\u7684\u8f93\u5165\uff0c\u76f4\u5230\u627e\u5230\u8f93\u5165\u662f<code>\"END\"<\/code>\u3002<\/p>\n<p><form class=\"pbform\" action=\"#\" id=\"pbform6\" method=\"POST\">\n<div class='pybox modeNeutral  facultative' id='pybox6'>\n<div class=\"heading\"><span class=\"title\">Example<\/span><\/div>\u5faa\u73af\u6240\u6709\u7684\u8f93\u5165\u884c<div class='pyboxTextwrap pyboxCodewrap RO '  style='height: 188px;'><textarea wrap='off' name='usercode6' id='usercode6'  cols=10 rows=7 readonly='readonly'  style = 'height : 188px;'  class='pyboxCode RO'>\ncounter = 0\nwhile True:\n  lineIn = input()\n  if lineIn == 'END':\n    break\n  counter = counter+1\n  print('line', counter, '=', lineIn)<\/textarea><\/div>\n<div id='pbhistory6' class='flexcontain' style='display:none;'><\/div>\n<div class='pyboxbuttons'><table><tr>\n<td><input type='submit' name='submit' id='submit6' value=' '\/><\/td>\n<td><input type='button' name='consolecopy' value=\"Open in console\" onclick=\"pbConsoleCopy(6)\" ><\/td>\n<td><input type='button' name='visualize' value=\"Visualize\" onclick=\"pbVisualize(6,'N')\" ><\/td>\n<\/tr><\/table><\/div>\n<input type=\"hidden\" name=\"lang\" value=\"\"\/><input type=\"hidden\" id=\"inputInUse6\" name=\"inputInUse\" value=\"Y\"\/>\n<input type=\"hidden\" name=\"pyId\" value=\"6\"\/>\n<input type=\"hidden\" name=\"hash\" value=\"81a9e3510f5e28d6521c90a9167dff6a\"\/>\n<div id='pbresults6' class='pbresults'><\/div>\n<\/div>\n<\/form>\n<script type='text\/javascript'>document.getElementById(\"submit6\").value = \"Run program\";document.getElementById(\"inputInUse6\").value = \"N\";<\/script>\n<\/p>\n<p>\u8fde\u7eed\u8bed\u53e5<code>continue<\/code>\u4f1a\u8ba9\u7a0b\u5e8f\u5728\u76ee\u524d\u7684\u4e00\u884c\u505c\u6b62\uff0c<strong>\u8df3\u8fc7<\/strong>\u8fd9\u6b21\u5faa\u73af\uff0c\u8fdb\u884c\u4e0b\u4e00\u6b21\u5faa\u73af\uff08\u4e0b\u4e00\u6b21\u201c\u8fed\u4ee3\u201d\uff09\u3002<\/p>\n<p><form class=\"pbform\" action=\"#\" id=\"pbform7\" method=\"POST\">\n<div class='pybox modeNeutral  facultative' id='pybox7'>\n<div class=\"heading\"><span class=\"title\">Example<\/span><\/div><div class='pyboxTextwrap pyboxCodewrap RO '  style='height: 110px;'><textarea wrap='off' name='usercode7' id='usercode7'  cols=10 rows=4 readonly='readonly'  style = 'height : 110px;'  class='pyboxCode RO'>\nfor n in range(10, 16):  \n  if (n == 13):  # bad luck\n    continue     # so we skip it\n  print(n)<\/textarea><\/div>\n<div id='pbhistory7' class='flexcontain' style='display:none;'><\/div>\n<div class='pyboxbuttons'><table><tr>\n<td><input type='submit' name='submit' id='submit7' value=' '\/><\/td>\n<td><input type='button' name='consolecopy' value=\"Open in console\" onclick=\"pbConsoleCopy(7)\" ><\/td>\n<td><input type='button' name='visualize' value=\"Visualize\" onclick=\"pbVisualize(7,'N')\" ><\/td>\n<\/tr><\/table><\/div>\n<input type=\"hidden\" name=\"lang\" value=\"\"\/><input type=\"hidden\" id=\"inputInUse7\" name=\"inputInUse\" value=\"Y\"\/>\n<input type=\"hidden\" name=\"pyId\" value=\"7\"\/>\n<input type=\"hidden\" name=\"hash\" value=\"e6fc0fd5cc46bc8694a13b7ab1650ec9\"\/>\n<div id='pbresults7' class='pbresults'><\/div>\n<\/div>\n<\/form>\n<script type='text\/javascript'>document.getElementById(\"submit7\").value = \"Run program\";document.getElementById(\"inputInUse7\").value = \"N\";<\/script>\n<\/p>\n<p>\u8fd9\u662f\u4e00\u4e2a\u7ed3\u5408\u4e2d\u65ad\u8bed\u53e5<code>break<\/code>\u548c\u8fde\u7eed\u8bed\u53e5<code>continue<\/code>\u7684\u793a\u4f8b\u3002\u4f60\u80fd\u591f\u731c\u5230\u8f93\u51fa\u662f\u4ec0\u4e48\u5417\uff1f<\/p>\n<p><iframe width='100%' height='480' frameborder='0' scrolling='no' src='https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-content\/plugins\/pybox\/OnlinePythonTutor3-cemc\/iframe-embed.html#code=for+i+in+range%281%2C+16%29%3A%0A++if+%28i+%3D%3D+4%29%3A%0A++++continue%0A++if+%28i+%3D%3D+9%29%3A%0A++++break%0A++print%28i%29%0Aprint%28%27Done%27%29&cumulative=false&heapPrimitives=false&drawParentPointers=false&textReferences=false&showOnlyOutputs=false&py=3&curInstr=0&resizeContainer=true&highlightLines&width=400&rightStdout=1'><\/iframe><\/p>\n<h2>\u7ec3\u4e60\u9898<\/h2>\n<p><form class=\"pbform\" action=\"#\" id=\"pbform8\" method=\"POST\">\n<div class='pybox modeNeutral ' id='pybox8'>\n<img title='You have not yet completed this problem.' src='https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-content\/plugins\/pybox\/files\/icon.png' class='pycheck'\/><div class=\"heading\"><span class='type'>Coding Exercise: <\/span><span class='title'>\u5e73\u65b9\u666e\u67e5<\/span><\/div>\u5e73\u65b9\u6570\u662f\u4e00\u4e2a\u6574\u6570\u7684\u5e73\u65b9\uff0c\u6bd4\u59829\u662f3\u7684\u5e73\u65b9\u3002\u7f16\u5199\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u8bfb\u53d6\u8f93\u5165\u503c\uff0c\u4e00\u4e2a\u6574\u6570<em>n<\/em>\uff0c\u5e76\u8f93\u51fa\u6240\u6709\u5c0f\u4e8e<em>n<\/em>\u7684\u6b63\u5e73\u65b9\u6570\uff0c\u6bcf\u4e00\u884c\u4e00\u4e2a\uff0c\u4ece\u5c0f\u5230\u5927\u6392\u5217\u3002\u6bd4\u5982\uff0c\u5982\u679c\u8f93\u5165\u662f16\uff0c\u8f93\u51fa\u5c31\u5e94\u8be5\u662f<\/p>\n<pre>1\r\n4\r\n9<\/pre><a class=\"hintlink\"  id=\"hintlink9\">\u63d0\u793a<\/a><br \/>\n<div class=\"helpOuter\" style=\"display: none;\"><div class=\"helpInner\"><div style=\"text-align: center\">You need to create an account and log in to ask a question.<\/div><\/div><\/div><div class='pyboxTextwrap pyboxCodewrap RW resizy'  style='height: 526px;'><textarea wrap='off' name='usercode8' id='usercode8'  cols=10 rows=20   class='pyboxCode RW'>\nn=int(input())\n<\/textarea><\/div>\n<div id='pbhistory8' class='flexcontain' style='display:none;'><\/div>\n<div name=\"pyinput\" id=\"pyinput8\">You may enter input for the program in the box below.<div class=\"pyboxTextwrap resizy\" style=\"height: 102px;\" ><textarea wrap=\"off\" name=\"userinput\" class=\"pyboxInput\" cols=10 rows=4><\/textarea><\/div><\/div>\n<input type='hidden' id='defaultCode8' value='n=int(input())\\n'><\/input>\n<div class='pyboxbuttons'><table><tr>\n<td><input type='submit' name='submit' id='submit8' value=' '\/><\/td>\n<td><input type='button' name='switch' id=\"switch8\" value=\"Input Switch\" onclick=\"pbInputSwitch(8,'N')\" ><\/td>\n<td><input type='button' name='consolecopy' value=\"Open in console\" onclick=\"pbConsoleCopy(8)\" ><\/td>\n<td><input type='button' name='visualize' value=\"Visualize\" onclick=\"pbVisualize(8,'N')\" ><\/td>\n<\/tr><\/table><select id='pbSelect8' class='selectmore'><option name='more'>More actions...<\/option>\n<option name='history' data-pbonclick=\"historyClick(8,'7c.squares')\" >History<\/option>\n<option name='default' data-pbonclick=\"pbSetText(8,descape($('#defaultCode8').val()))\" >Reset code to default<\/option>\n<option name='help' data-pbonclick=\"helpClick(8);\" >Help<\/option>\n<\/select><\/div>\n<input type=\"hidden\" name=\"lang\" value=\"\"\/><input type=\"hidden\" id=\"inputInUse8\" name=\"inputInUse\" value=\"Y\"\/>\n<input type=\"hidden\" name=\"pyId\" value=\"8\"\/>\n<input type=\"hidden\" name=\"hash\" value=\"8eda77df6d38808f40d59c4c00ceec83\"\/>\n<div id='pbresults8' class='pbresults avoidline'><\/div>\n<\/div>\n<\/form>\n<script type='text\/javascript'>jQuery(function(){pbToggleCodeMirror(8);});pbInputSwitch(8,\"N\");<\/script>\n<\/p>\n<p><form class=\"pbform\" action=\"#\" id=\"pbform10\" method=\"POST\">\n<div class='pybox modeNeutral ' id='pybox10'>\n<img title='You have not yet completed this problem.' src='https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-content\/plugins\/pybox\/files\/icon.png' class='pycheck'\/><div class=\"heading\"><span class='type'>Coding Exercise: <\/span><span class='title'>\u8df3\u8fc7<\/span><\/div>\u5ef6\u4f38\u4e0a\u9762\u7684\u4f8b\u5b50\uff08\u6211\u4eec\u5df2\u7ecf\u4e3a\u4f60\u590d\u5236\u4e86\uff09\uff0c\u5b9e\u73b0\u4e00\u4e2a\u65b0\u7684\u529f\u80fd\uff1a\u4efb\u4f55\u7b49\u4e8e<code>SKIP<\/code>\u7684\u884c\u90fd\u4e0d\u6253\u5370\uff0c\u800c\u4e14counter\u90fd\u4e0d\u589e\u52a0\u3002Run the program to see an example. <a class=\"hintlink\"  id=\"hintlink11\">\u63d0\u793a<\/a><div class=\"helpOuter\" style=\"display: none;\"><div class=\"helpInner\"><div style=\"text-align: center\">You need to create an account and log in to ask a question.<\/div><\/div><\/div><div class='pyboxTextwrap pyboxCodewrap RW resizy'  style='height: 526px;'><textarea wrap='off' name='usercode10' id='usercode10'  cols=10 rows=20   class='pyboxCode RW'>\ncounter = 0\nwhile True:\n lineIn = input()\n if lineIn=='END':\n break\n counter = counter+1\n print('line', counter, '=', lineIn)\n<\/textarea><\/div>\n<div id='pbhistory10' class='flexcontain' style='display:none;'><\/div>\n<input type='hidden' id='defaultCode10' value='counter = 0\\nwhile True:\\n lineIn = input()\\n if lineIn==\\u0027END\\u0027:\\n break\\n counter = counter+1\\n print(\\u0027line\\u0027, counter, \\u0027=\\u0027, lineIn)\\n'><\/input>\n<div class='pyboxbuttons'><table><tr>\n<td><input type='submit' name='submit' id='submit10' value=' '\/><\/td>\n<td><input type='button' name='consolecopy' value=\"Open in console\" onclick=\"pbConsoleCopy(10)\" ><\/td>\n<td><input type='button' name='visualize' value=\"Visualize\" onclick=\"pbVisualize(10,'N')\" ><\/td>\n<td><input type='button' name='history' value=\"History\" onclick=\"historyClick(10,'7c.skip')\" ><\/td>\n<\/tr><\/table><select id='pbSelect10' class='selectmore'><option name='more'>More actions...<\/option>\n<option name='default' data-pbonclick=\"pbSetText(10,descape($('#defaultCode10').val()))\" >Reset code to default<\/option>\n<option name='help' data-pbonclick=\"helpClick(10);\" >Help<\/option>\n<\/select><\/div>\n<input type=\"hidden\" name=\"lang\" value=\"\"\/><input type=\"hidden\" id=\"inputInUse10\" name=\"inputInUse\" value=\"Y\"\/>\n<input type=\"hidden\" name=\"pyId\" value=\"10\"\/>\n<input type=\"hidden\" name=\"hash\" value=\"f2728e3887acd0459c709fc288affe6f\"\/>\n<div id='pbresults10' class='pbresults avoidline'><\/div>\n<\/div>\n<\/form>\n<script type='text\/javascript'>jQuery(function(){pbToggleCodeMirror(10);});document.getElementById(\"submit10\").value = \"Run program\";document.getElementById(\"inputInUse10\").value = \"N\";<\/script>\n<\/p>\n<p><form class=\"pbform\" action=\"#\" id=\"pbform12\" method=\"POST\">\n<div class='pybox modeNeutral ' id='pybox12'>\n<img title='You have not yet completed this problem.' src='https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-content\/plugins\/pybox\/files\/icon.png' class='pycheck'\/><div class=\"heading\"><span class='type'>Coding Exercise: <\/span><span class='title'>\u627e\u56e0\u6570<\/span><\/div>\u5982\u679c<em>a<\/em> \u00d7 <em>b<\/em> = <em>n<\/em>\uff0c\u6211\u4eec\u5c31\u628a<em>a<\/em> \u00d7 <em>b<\/em>\u53eb\u505a<em>n<\/em>\u7684<strong>\u56e0\u5f0f\u5206\u89e3<\/strong>\u3002\u5728\u8fd9\u4e2a\u7ec3\u4e60\u4e2d\uff0c\u7f16\u5199\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u8f93\u5165\u4e00\u4e2a\u6b63\u6574\u6570<em>n<\/em>\uff0c\u8f93\u51fa<em>n<\/em>\u6240\u6709\u53ef\u80fd\u7684\u56e0\u5f0f\u5206\u89e3\uff1b\u4f60\u9700\u8981\u9075\u5faa\u4e0b\u9762\u7684\u683c\u5f0f\uff08<em>n<\/em>=10\u4e3a\u4f8b\uff09\u3002<\/p>\n<pre>1\u4e5810\u7b49\u4e8e10\r\n2\u4e585\u7b49\u4e8e10\r\n5\u4e582\u7b49\u4e8e10\r\n10\u4e581\u7b49\u4e8e10<\/pre><a class=\"hintlink\"  id=\"hintlink13\">\u63d0\u793a<\/a><div class=\"helpOuter\" style=\"display: none;\"><div class=\"helpInner\"><div style=\"text-align: center\">You need to create an account and log in to ask a question.<\/div><\/div><\/div><div class='pyboxTextwrap pyboxCodewrap RW resizy'  style='height: 526px;'><textarea wrap='off' name='usercode12' id='usercode12'  cols=10 rows=20   class='pyboxCode RW'>\nn = int(input())\n<\/textarea><\/div>\n<div id='pbhistory12' class='flexcontain' style='display:none;'><\/div>\n<input type='hidden' id='defaultCode12' value='n = int(input())\\n'><\/input>\n<div class='pyboxbuttons'><table><tr>\n<td><input type='submit' name='submit' id='submit12' value=' '\/><\/td>\n<td><input type='button' name='consolecopy' value=\"Open in console\" onclick=\"pbConsoleCopy(12)\" ><\/td>\n<td><input type='button' name='visualize' value=\"Visualize\" onclick=\"pbVisualize(12,'N')\" ><\/td>\n<td><input type='button' name='history' value=\"History\" onclick=\"historyClick(12,'7c.factorize')\" ><\/td>\n<\/tr><\/table><select id='pbSelect12' class='selectmore'><option name='more'>More actions...<\/option>\n<option name='default' data-pbonclick=\"pbSetText(12,descape($('#defaultCode12').val()))\" >Reset code to default<\/option>\n<option name='help' data-pbonclick=\"helpClick(12);\" >Help<\/option>\n<\/select><\/div>\n<input type=\"hidden\" name=\"lang\" value=\"\"\/><input type=\"hidden\" id=\"inputInUse12\" name=\"inputInUse\" value=\"Y\"\/>\n<input type=\"hidden\" name=\"pyId\" value=\"12\"\/>\n<input type=\"hidden\" name=\"hash\" value=\"18abc10043456cbef68e4da46078a620\"\/>\n<div id='pbresults12' class='pbresults avoidline'><\/div>\n<\/div>\n<\/form>\n<script type='text\/javascript'>jQuery(function(){pbToggleCodeMirror(12);});document.getElementById(\"submit12\").value = \"Run program\";document.getElementById(\"inputInUse12\").value = \"N\";<\/script>\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7b2c\u4e03\u8282\u8bfe\u6709\u4e09\u4e2a\u90e8\u5206A, B, C\uff0c\u987a\u5e8f\u4e0d\u9650\u3002 \u5230\u76ee\u524d\u4e3a\u6b62\uff0c\u6211\u4eec\u5b66\u4e60\u4e86\u57fa\u672c\u7684\u7f16\u7a0b\u6307\u4ee4\uff08\u6bd4\u5982\u8d4b\u503c\uff0c\u6253\u5370\uff09\uff0c\u901a\u8fc7if\u8bed\u53e5\u53ef\u4ee5\u6765\u63a7\u5236\u6267\u884c\u54ea\u4e00\u4e2a\u8bed\u53e5\u3002\u8fd9\u8282\u8bfe\uff0c\u6211\u4eec\u4ecb\u7ecd\u5faa\u73af\uff08\u6709\u65f6\u4e5f\u53eb\u505a\u91cd\u590d\u6216\u8fed\u4ee3)\uff1a\u8ba9\u8ba1\u7b97\u673a\u91cd\u590d\u505a\u540c\u4e00\u4ef6\u4e8b\uff08\u6216\u76f8\u4f3c\u7684\u4e8b\uff09\u3002\u6bd4\u5982\uff0c\u67e5\u770b\u6587\u6863\u4e2d\u7684\u6bcf\u4e00\u4e2a\u8bcd\u53ef\u4ee5\u901a\u8fc7\u5faa\u73af\u5b9e\u73b0\u3002\u5728\u8fd9\u8282\u8bfe\u4e2d\u6211\u4eec\u4f1a\u63cf\u8ff0\u4e24\u79cdPython\u5faa\u73af\uff1awhile\u5faa\u73af\u548cfor\u5faa\u73af\u3002 while\u5faa\u73af \u4e00\u4e2awhile\u8bed\u53e5\u4f1a\u4e00\u904d\u53c8\u4e00\u904d\u7684\u91cd\u590d\u4e00\u6bb5\u4ee3\u7801\uff0c\u53ea\u8981\u67d0\u4e9b\u6761\u4ef6\u662f\u6b63\u786e\u7684\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u4f8b\u5b50\uff1a \u4e0b\u9762\u662f\u4e00\u822c\u7684\u7ed3\u6784\uff1a \u7b2c\u4e00\u884c\u662fwhile \u00ab\u6761\u4ef6\u00bb\uff1a\u00ab\u6761\u4ef6\u00bb\u00a0\u662f\u4e00\u4e2a\u5224\u65ad\u8868\u8fbe\u5f0f\uff08\u8f93\u51faTrue\u6216False\uff08Boolean\u8868\u8fbe\u5f0f\uff0c\u548cif \u8bed\u53e5\u7c7b\u4f3c\uff09\u3002 \u4e4b\u540e\uff0c\u6211\u4eec\u63d2\u5165\u4e00\u4e2a\u7f29\u8fdb\u5757\uff08\u5c31\u50cf\u6211\u4eec\u5728if\u8bed\u53e5\u4e2d\u505a\u5f97\u90a3\u6837\uff09\uff0c\u8f93\u5165\u6211\u4eec\u60f3\u91cd\u590d\u505a\u7684\u4e8b\u60c5\u3002\u8fd9\u4e2a\u53eb\u505a\u4e3b\u4f53\u3002 \u5f53\u4f60\u8fd0\u884c\u7a0b\u5e8f\u65f6\uff0c\u4f1a\u91cd\u590d\u4ee5\u4e0b\u4e8b\u60c5\uff1a \u68c0\u67e5\u6761\u4ef6\uff1b\u5982\u679c\u6761\u4ef6\u662f\u6b63\u786e\u7684\uff08True\uff09\uff0c\u90a3\u4e48\u4e3b\u4f53\u5c31\u4f1a\u8fd0\u884c\uff0c\u8fd0\u884c\u540e\u56de\u5230\u68c0\u67e5\u6761\u4ef6\uff1b\u4e00\u65e6\u67d0\u4e00\u6b21\u6761\u4ef6\u662f\u9519\u8bef\u7684\uff08False\uff09\uff0c\u5faa\u73af\u5c31\u505c\u6b62\u4e86\u3002 \u6240\u4ee5\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f1a\u4e00\u76f4\u5faa\u73af\u4e3b\u4f53\u76f4\u5230timeLeft\u5c0f\u4e8e\u7b49\u4e8e0\u3002 Coding Exercise: \u5411\u4e0a\u6570\u66f4\u6539\u4e0a\u9762\u7684\u4f8b\u5b50\uff0c\u5f97\u5230\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u4ece1\u6570\u523010\uff0c\u7136\u540e\u6253\u5370Blastoff!\u3002You need to create an account and log in to ask a question. More actions... Help \u4f7f\u7528\u5faa\u73af\u65f6\uff0c\u7ecf\u5e38\u4f1a\u4f7f\u5176\u53d8\u6210\u65e0\u9650\u5faa\u73af\u3002 Example\u65e0\u9650\u5faa\u73af while True: x=1 \u4f60\u4f1a\u5f97\u5230\u9519\u8bef\u63d0\u793a\"\u8d85\u8fc7\u65f6\u9650\"\uff0c\u56e0\u4e3aCS\u00a0Circles\u7f51\u7ad9\u6709\u4e00\u4e2a\u65f6\u95f4\u9650\u5236\uff1b1\u79d2\u4e4b\u540e\u7a0b\u5e8f\u7ec8\u6b62\u3002\u5982\u679c\u4f60\u5728\u5bb6\u91cc\u8fd0\u884c\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u5b83\u4f1a\u6c38\u8fdc\u5730\u8fd0\u884c\u4e0b\u53bb\uff08\u76f4\u5230\u4f60\u5f3a\u5236\u7ec8\u6b62\u5b83\uff0c\u901a\u5e38\u901a\u8fc7\u6309 Ctrl-C \u952e\u6765\u8fdb\u884c\u6b64\u64cd\u4f5c\uff09\u3002 &hellip; <a href=\"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/zh-7c\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9237","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-json\/wp\/v2\/pages\/9237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-json\/wp\/v2\/comments?post=9237"}],"version-history":[{"count":13,"href":"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-json\/wp\/v2\/pages\/9237\/revisions"}],"predecessor-version":[{"id":10453,"href":"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-json\/wp\/v2\/pages\/9237\/revisions\/10453"}],"wp:attachment":[{"href":"https:\/\/cscircles.cemc.uwaterloo.ca\/dev\/wp-json\/wp\/v2\/media?parent=9237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}