第 3 步:现在我们将设置变量来存储我们打乱的单词!

  • pig_latin()中缩进的字符串变量从code_word my_var
  • 删除引号内的单词以创建一个空字符串。它应该看起来像这样: ""

请记住,空字符串充当占位符,我们可以稍后为其添加值。我们正在设置code_word以便我们以后能够更新它的值。

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)