Python Hello World
print() Practice

Hello World — speak to the screen

print() is how your program talks to the user. Think of it like a café order ticket: your code writes the message, the computer displays it.

Picture this: print() is a megaphone

The string in quotes is the message. print() sends it to the screen.

Your codeprint("Hello")
→
print()the megaphone
→
ScreenHello

Diagram — print() path

print("...") Interpreter Terminal

In easy words: What is print()?

print() is the command that shows text on the screen. It is the simplest way for your program to communicate output.

Where this is used

Used for logs, status messages, debugging, terminal output, and showing results while learning or testing code.

Real world: order ticket → kitchen screen

Barista apps send "Oat latte, extra hot" to a kitchen display. Your Python program sends "Hello, Kodin!" to the terminal. Same pattern: one message, one destination.

Live demo — run print()

☕
Customer order waiting…
1print("Hello, Kodin!")
(output appears here)

What you must remember

  • Strings use quotes — "Hello, Kodin!" is text; quotes tell Python it is not a variable name.
  • print adds a newline — each call usually appears on its own line in the terminal.
  • Practice goal — in Kodin editor, print exactly Hello, Kodin! and submit.

Example Program

1print("Hello, World!")