Python Program to Print Hello world!

Sharing is caring!

A simple program that displays “Hello, World!”. It’s often used to illustrate the syntax of the language.

Source Code

# This program prints Hello, world!

print('Hello, world!')

Output

Hello, world!

In this program, we have used the built-in print() function to print the string Hello, world! on our screen.

By the way, a string is a sequence of characters. In Python, strings are enclosed inside single quotes, double quotes, or triple quotes.

Related Post

Leave a Reply

Your email address will not be published.