Accepting and responding to user input
x

The input, process, output pattern

The input, process, output pattern

Flowchart of a Python program prompting the user, storing input as a string, optionally converting it, validating it, and choosing an if, elif, or else response

Interactive programs usually follow an input, process, output pattern. The user provides data, the program works with it, and the program then displays a result or message.

Accepting and responding to user input Lesson

  1. GCSE
  2. /Computer Science
  3. /Accepting and responding to user input