警告:这个程序有一个错误,这意味着我们需要修复它!

规则:您不能使用+将字符串与整数组合。

  • 我们必须在整数变量周围使用 str() 来连接字符串。
  • 点击运行并阅读错误消息。
  • 调试程序,让两个精灵都说出它们有多少弹珠。

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)