📤 Output

4th Grade 💻 Coding

Output is whatever a program sends out: text or a picture on the screen, a sound, a vibration, a printed page, or a saved file.

Free · US Letter · no sign-up
Google Classroom Save to Pinterest Email me

In Python, the basic way to make output is print: print("Great job!") shows text on the screen. In Scratch, output is everything that happens on the stage: a sprite saying something in a speech bubble, moving, changing costume or playing a sound.

Good output is clear to the person who gets it: a message that makes sense, a color that shows success or a mistake, a short sound that confirms a click. Programmers also use output for themselves, adding extra prints while debugging, but they remove them before the program reaches real users.

For example

  • A calculator shows the result. That’s its output.
  • A washing machine beeps when the load is done. Sound is output too.
  • In Scratch, the block “say Great job! for 2 seconds” creates output in a speech bubble over the sprite.
  • Your phone vibrating when a message arrives is output you feel in your hand without even looking at the screen.

📌 Remember: Output = what the program “tells” us.

Quick quiz

  1. What is output?

  2. Which Python function shows output on the screen?

  3. Which of these is output?

🔎 Ask Thinkapedia another question