STEP 14:如果用户选择"a"最多,他们就是刺猬!为每个问题输入一个以测试您的代码!

  • Say放到 if 语句中。 if 语句中的所有命令都应以····开头。
  • .say()中的字符串更改为"You are the hedgehog!"
  • Sprite at Position 。将其变量名更改为result_sprite
  • .Sprite()的参数更改为( "hedgehog" , 0 , -100 )

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)