第 8 步:让我们在一个句子中使用用户输入的两个词。

  • 像这样组合.say()中的字符串和变量: "During " + _____ + " I like to " + _____
  • 使用加号+season插入第一个空格,将verb插入第二个空格。
  • 请记住,您需要在字符串中包含空格。否则,一切都会像这样被弄脏: "During" + season = "Duringfall"

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)