STEP 19:如果用户选择"d"最多,他们就是骑士!为每个问题输入 d 以测试您的代码。

  • 点击逻辑,然后.在代码底部不缩进elif
  • 将测试变量更改为result并将测试更改为d_num
  • 点击图形,然后.将Drawbridge放在 elif 语句中。
  • 在 elif 语句中添加Say

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)