In this post we will learn to print "Hello World!" using Python programming language. In order to print a specified message in the output screen we write following code snippet.

'''print() displays the specified message in the output screen'''
print ("Hello World!")

This program can be considered as the easiest program for any programmer as it only contains two lines of codes in order to print a specified message in the output screen.

The line starting with the symbol triple inverted commas (''') is comment in Python programming language which is not printable in the output screen but it is good for the programmers to write comments in the program to understand the aim of the statements. They are used for multiline comments and for single line comment we can use hash (#) character instead of triple inverted commas.

After that we encountered print() function carrying the message "Hello World!" which will display it in the output screen and terminates the program.

For the above program the output will be generated as shown below.

Hello World!