Python Program to Print Hello World

In this post, we will see a very simple Python program that displays “Hello, World!” on the screen. Similar to Hello world programs in other languages, this program also used to illustrate the syntax of the Python language.

It is assumed that you have installed Python runtime in your computer. If not, you can take help from this guide which shows how to install Python in Sublime IDE.

Python Hello World Program

In Python, the print() function is an inbuilt function in the language. print() is used to display the data on the standard output device (by default it is screen).

When we pass the String "Hello, World!" to the print() function, string gets displayed on the screen.

print("Hello, World!")

Program output.

Hello, World!
Python Hello world program
Python Hello world program

Happy Learning !!

Was this post helpful?

Join 7000+ Fellow Programmers

Subscribe to get new post notifications, industry updates, best practices, and much more. Directly into your inbox, for free.

Leave a Comment


A blog about Java and its related technologies, the best practices, algorithms, interview questions, scripting languages, and Python.