Python Program to Print Hello World
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')
Output
Hello World
Leave Comment