Python program to print hello world

By Lenin Mishra

The below code prints Hello World.

Code

print("Hello World")

Output

Hello World

We have used the print() built-in function to print the string Hello World on our screen.

In Python, a string is a sequence of characters. Strings can be enclosed inside single quotes, double quotes, or triple quotes.

Recommended Reading