第 2 步:我们正在接受冰淇淋订单,所以我们需要一个服务器来询问用户他们想要什么!

  • 并将Person 16拖到main()的底部。将精灵放置在(- 100 , 0 )处。
  • 是埃德!他做的冰淇淋很棒!现在去并将Ask拖到下一行。
  • .ask()中的问题更改为"Would you like a cone or a sundae?"

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)