第 11 步:有了这些信息,Ed 就可以开始为我们制作冰淇淋了!首先让我们做一个圆锥。

  • 单击逻辑并转到.将if拖入main()使其仅缩进一次。
  • 将测试值"yes"更改为"cone"
  • 并拖出 if 语句内缩进的Function Call
  • my_function()更改为make_cone() 。点击运行并选择一个圆锥!

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)