Hello World Program in Python

In this post, we will write a simple Python program to display Hello World on the screen. This is one of the most basic program, which we usually try when start learning a programming language.


Python script to print Hello World on screen

Printing a message on screen is very simple in Python programming. Unlike java where you have to write a couple of lines of code to do this task, In Python you can print a message on screen with a single line of code (print statement).

#This prints Hello World on the output screen
print('Hello World') (code-box)



Output:
Hello World

0 Comments