Overview
Hello World is the classic first program: print a greeting string to the screen.
Analogy
Turning on a light switch for the first time — a tiny action that proves the whole system works.
Step-by-step
- Call the print function.
- Pass the string 'Hello, World!' as the argument.
- The runtime writes it to standard output.
Visual
Source → Interpreter → stdout: Hello, World!
Common mistakes
- Forgetting the closing parenthesis.
- Mixing up single and double quotes inconsistently.
Practice questions
- Print your own name.
- Print a multi-line message using two print calls.