USER INPUT: Users can input information into a program. This user input can then be used later in the program.

User input must be stored in a variable so it can be used later. User input is always a string.

  • Run the program and enter anything into the question box. The sprite will tell you the data type of the input.
  • What happens if you enter your name? A color? Try entering an integer and a float, too!
  • Click Submit to turn in your work and Next to move on.

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)