Hello World Program in Python
2025-12-27 • BNX Alpha Media
The "Hello, World!" program is a simple way to get started with programming in Python. It demonstrates the basic syntax of the language and how to output text to the console.
Writing the Program
To write the "Hello, World!" program in Python, you can use any text editor or an integrated development environment (IDE). Here is the code:
print("Hello, World!")
Running the Program
To run the program, save the code in a file named hello.py. Open your terminal or command prompt, navigate to the directory where the file is saved, and type the following command:
python hello.py
This will execute the program and you should see the output:
Hello, World!
Conclusion
Congratulations! You've just written and executed your first Python program. This simple exercise is the first step towards learning more about programming and Python.
You tube Video
Watch this video to see how it's done: Python Tutorial for Beginners - Coadies