Chapter 2: Hello World
Now that you have Python installed, let's write our first program: the classic "Hello, World!" example.
Writing Hello World
| Python | |
|---|---|
When you run this code, Python will print "Hello, World!" to the screen. This simple program introduces you to the print() function, one of the most basic and essential functions in Python.