15 步:让我们将句子的最后一个单词传递给函数!

  • ,将Return Variable拖到程序底部。
  • 将返回变量third_word名称从 my_var 更改为my_var
  • 将参数"mars"传递给函数pig_latin

返回变量third_word将存储值"arsmay"

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)