第 2 步:让我们输出一些数据来查找和诊断问题!

  • ···· ycord · -= · 50 下方添加一个print()并使用它来输出xcord
  • 提示:为清楚起见,在打印中添加一个字符串标签,如下所示: print("x-coordinate", xcord)!
  • 查看打印控制台。 xcord的值是多少?
  • 为什么剩下的 9 行没有出现在舞台上?它们是由嵌套循环创建的吗?

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)