第二版书36页这个是不是错了
print这里变红了,不知道是什么原因(照片里打叉的位置)sum = 0
for i in range(101):
sum += i
print(sum)
SyntaxError: invalid syntaxdata:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAwIAAAD3CAYAAACuC+OPAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAC8NSURBVHhe7d1vzB3VndjxYwNJCAlgk8R5jBIFjJSIVhDjQJYozRsWEiGnfVGQVokihOL6TSV2pW4Vt7RVtS2V0ze7ofsmiGyEtkmLYNWVlqZZHCdRwi5NHGOgWwfUOHbZxg8uiW3+1eavO7+59/c8v3uec2bO3Hvm3plnvh/p+M49c+bMmTPzXJ/f/Ll3w7mCAwAAADAoG8evAAAAAAaEQAAAAAAYoDW3Br300kuu7m6hCy64wL373e8evwMAAADQN2sCge9///vuoosuch/96Efdm2++6TZu3Ojeeust9853vtO9+uqr7oUXXigDhddee81t3769DAoAAAAA9Evw1qALL7zQbdiwwb33ve8tg4Lzzz/fvfHGG2VgIFcCJAj48Ic/7H7605+WeQAAAAD6ZU0gIAGAnPl/++233cmTJ90rr7zi3vWud7lLLrnEbd261V1xxRXusssuc0ePHi3zHnvssbIsAAAAgP5Yc2vQD37wA3f55Ze7D33oQ+VtPxIYSBJSVAb9x48fd+94xzvc2bNn3csvv1wGDjfccIM777zzynLrzdH997l97ma3+6YrxjnTKes5db27/bbtblPgPQAAAKodPnzYPf744+Wt61VkXHrjjTe6q6++epzTP9/61rfcJz/5W+6qq7aNc8J+8Ysj7qc//Yn7whe+MM5JsyYQ+OEPf+je8573lM8InDlzphz46wBfBv6bN292x44dK9/LDjh06JC78sor3cc+9jH3/ve/v8yv4w+ATx162D104ORo5orN7vrbb3PbvRHyqOwmd/Pum1xoWB6uy7ltN+920XH80f3uvn1Hxm8KmycH54sMBMoyK00L90lM2Rcnd4Tb7W3z5utvd7dVVnzU7b9vnzO9lLAMAABAXt/4xjfcxz/+cbe0tDTO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YVAX9Q0fbAx1c1qInNs21c9MAotH7bvqZk2UVuj0+3L2V72mx3rJ+b6kLfVrUhNk/ydR+E+gIAAHRadx8WlkGFppQBn6UDEn9gEsuvWl9snkwrnU559ZOtT5I/baWUUVXbZJe1022qWqfNt2L5VVL2l9D5/rSVUiZ1fXVsHZrsPqsj5e2riuXH2i1StkmnY68AAKDzuhcI6KBDXjXFyKAjND+2bCxfNJnnl4vND733k6qap1LKWLFyNj8035dSpo5dl19fKE/E8kUoT/nL2Wlly4Tmi5Qywp9fVTbELm9TSF+OeQAA0Hn9eFjYJ4Oh2IAIWI845gEAQGb9DAQ484ih4ZgHAACZ9TMQAAAAADATAgEAAABggGoDgT1yX3KNlDIAAAAAumNj3SB+77lztQP9lDIAAAAAumNjroE+wQAAAADQH+WtQQQDAAAAwLCsPCNAMAAAAAAMx8TDwgQDAAAAwDDw9aEAAADAAE0EAnIWX87mV8lVBgAAAMDirAQCBAEAAADAcJSBAEEAAAAAMCzlD4oRBAAAAADDUv6gWBWCAAAAAGD9qf3WoJQBPkEAAAAA0C98fSgAAAAwQAQCAAAAwAARCAAAAAADRCAAAAAADBCBAAAAADBABAIAAADAABEIAAAAAANEIAAAAAAMEIEAAAAAMEAEAgAAAMAAEQgAAAAAA0QgAAAAAAwQgQAAAAAwQAQCAAAAwAARCAAAAAADRCAAAAAADBCBAAAAADBABAIAAADAABEIAAAAAANEIAAAAAAMEIEAAAAAMEAEAgAAAMAAEQgAAAAAA0QgAAAAAAwQgQAAAAAwQAQCAAAAwAARCAAAAAADRCAAAAAADBCBAAAAADBABAIAAADAABEIAAAAAANEIAAAAAAMEIEAAAAAMEAEAgAAAMAAEQgAAAAAA0QgAAAAAAyOc/8fpzAt73KmZUkAAAAASUVORK5CYII=
图片咋上传不了 {:10_243:} 写完for循环后打回车跳出循环,直到前面出现 >>>再写print语句,或者你新建一个文件在里面写代码就不会发生这种情况 ssuperdragon 发表于 2022-2-17 22:04
写完for循环后打回车跳出循环,直到前面出现 >>>再写print语句,或者你新建一个文件在里面写代码就不会发生 ...
IDLE 里不知道咋跳出去,不过知道是谁么原因导致的了,多谢~{:10_297:} 开始学习吧 发表于 2022-2-17 22:21
IDLE 里不知道咋跳出去,不过知道是谁么原因导致的了,多谢~
按回车键就能跳出来 sum = 0
for i in range(101):
sum += i
print(sum)
lizhongtang 发表于 2022-2-18 16:37
我是在idle里编辑的,跳不出for循环 ssuperdragon 发表于 2022-2-17 22:26
按回车键就能跳出来
试了一下不太行,出不来>>>
页:
[1]