Python Hello World Program

Python Hello World Program: In this tutorial we will learn about very first python program. First more important thing that i want to tell you that there are two versions of Python Programming language. One is Python2 and other is Python3. We are using Python 3 because it supports new features. In this tutorial we will learn how we can print out “Hello World” or a String statement with python program. Because Python has no boilerplate (prepared) code like other programming languages. So For this purpose we use simply “print()” function. You can see following example code

 

Example 1

Result/Output

 

See following another Example. In this Example, we will simply store a string in a variable and then print.

Example 2

Result/Output

 

See Following Example Three, in this example we will print out another string statement in the place of “Hello World”

Example 3

Result/Output

 

 

Get More Python Tutorials