Knaph

Input and output

How a program gets values from outside while it runs, such as what a user types, and sends its results back out, such as by printing them.

Depth 1 · Foundation

You write programs that read whole numbers with int(input()), calculate, and print results with labels using print(a, b), and know why an automatically checked program must print exactly the expected output.

Sign in to prove what you know with a short quiz, see how deep you've gone, and earn XP for it.

Sign in with Google

Depths of understanding

  1. 1

    Foundation

    You write programs that read whole numbers with int(input()), calculate, and print results with labels using print(a, b), and know why an automatically checked program must print exactly the expected output.

Your path here

What's still between you and Input and output, depth 1, in the order you can learn it.

  1. 1ProgramDepth 1 · Foundation · Program Basics
  2. 2ExpressionDepth 1 · Foundation · Program Basics
  3. 3Variables in codeDepth 1 · Foundation · Program Basics
  4. 4Program stateDepth 1 · Foundation · Program Basics
  5. 5Input and outputDepth 1 · Foundation · Program Basics

Where it fits