STEP 3: The input variable question holds the question that the user typed. Let's display that question on stage.

  • Go to and drag out Text at a Position.
  • Change the shape's variable name from sprite to show_question.
  • Replace the string argument in .Text() with the variable question (no quotes!).
  • Change the x,y-coordinates to 0, 50.

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
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)