STEP 3: Now we'll ask the user a question. The user will enter a response. This is called user input.

We store user input by setting up a variable to hold whatever response the user enters. This is an input variable.

  • Click on . Drag out Ask. Change the question in quotes to "What's your name?"
  • Change the input variable, to the left of the equal sign, to user_name.
  • Run the activity to see your sprite ask a question.


# THIS ACTIVITY IS IN PREVIEW ONLY MODE