Python

Python Program To Print – Hello World

To show Hello World on the screen, we will construct a basic Python program in this article. One of the first programs we often attempt while learning a programming language is this one.

Python script to print Hello World on screen

Python programming makes it extremely easy to print a message on the screen. Python allows you to display a message on the screen with only one line of code, unlike Java, where you need to write a few lines of code to do this (print statement).

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

Output:

Hello World

Displaying Hello World on the Screen using Python script

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

Output:

Hello World

Displaying Hello World on the Screen using Python script

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button