Python - Display Hello World!

Every python programmer often starts with this program to check the syntax and whether it runs without any errors.

A string is a sequence of charachters. This program prints the string Hello World!


Program Code



 # First Hello World program
print("Hello World!")

Output



 Hello World!
            

In this program, the print() is a built-in python function which prints the string value Hello World!.



Related Tutorials