how to run python hello world code example

Example 1: how to write your first python program

# The basics are messages such as Hello World which is displayed in the shell window.
# The line of code bellow is used to show strings or integers in the python terminal window.
print("Hello World")

Example 2: print hello world in python

# This program prints Hello, world!

print('Hello, world!')

Example 3: how to print hello world in python

# For python 3
print("Hello World")
# for python 2
print "Hello World"

Example 4: how print hello world in python

print("hello world")