Python Hello World Example Program
Hello world program is the most common first program that is used to understand working of output statement. Similarly we also write print statement in python.This print function has also other optional parameters that we do not used this example.
# This is first program in python
# These lines of code will display
# Hello World on screen.
# We are using here print statement
# with no additional arguments
The output of this program using pyScript IDE will be as:
We can also write string constant in single quotes provided to the print() function. But most commonly double quotes are used. print() function will automatically move cursor to the next line after displaying Hello World.