Python Program to Print Hello world!


Levels of difficulty: / perform operation:

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. String is a sequence of characters. In Python, strings are enclosed inside single quotes, double quotes or triple quotes (”’, “”").

Other Related Programs in python

  1. Python Program to Print Hello world!