警告:这个程序有一个语法错误,这意味着我们需要修复它!空函数无法运行!

规则:函数必须有缩进的代码,当函数被调用时会运行。

  • 点击运行并阅读错误消息。这个程序是不完整的,但是编码者想要测试他们迄今为止编写的代码。调试这个程序,使空函数不会导致错误。
  • 在 LOGIC 中,从Pass命令添加到lava_flow()函数。

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)