第 12 步:是时候以最后一幕结束我们的故事了!

  • 添加Say for Time并使用点符号将其分配给wizard
  • 编辑.say()中的字符串,让向导说"You defeated the dragon!"
  • 添加一个Say并使用点符号将其分配给wizard
  • 更改中的字符串。 say()所以向导说"Here is your reward!"

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)