BSR Tutorials

Python - Display Hello World!

Every python programer 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 funcation which prints the string value Hello World!.

Python Examples