Python Program to print hello world

For a better understanding of this example, we always recommend you to learn the basic topics of Python programming listed below:

How to print hello world in python?

Python is a programming language that is trending now because of the simplicity of the language. It is much better than the C language because of its human-readable format. Python has minimal syntax, and it is easy to write the code.

Here it is the basic python program to print hello world We can write that program using a print statement. We describe this program for beginners to understand how the python program works. There is no need to include the header library or any other syntax to execute this program. That is one of the reasons why Python has become much popular.

ALGORITHM

STEP 1: Use the print function to display the string "Hello world".

Python Source Code

                                          print ("Hello World")
                                      

OUTPUT

Hello World