12 步:让我们向用户询问我们可以用来使精灵移动的输入!

  • 并拖出另一个Wait 。将其放在程序的底部。
  • ,拖出另一个Ask并将其放在程序的底部。
  • 将输入变量的名称从choice更改为jump
  • .ask()中的字符串更改为"How high should I jump? (Enter a number from 50 to 200)"

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)