Hello World in python

Today we are going to start learning new programming language Python.In recent time it gained popularity because of it’s simplicity and we can complete our program with in fewer lines of code.It is both interpreter and complied.

It is developed in the year 1991 by Guido van Rossum.Python is object-oriented and structured programming language supporting both types of formats.You can install python on your system by downloading the files from their site.Today we shall learn about making a simple and basic Hello world program in python langauge.

Before writing the program we need to know have basic knowledge.Python doesn’t have any main function,so we need to worry about writing a main function in the program.To print a line we use the keyword print(“”) with the text placed in between parentheses.

Now we shall write the program in which we just print the Hello world statement

print "Hello world"
print "Welcome to the world of Python"

Output:
hello_world

Advertisement

About Anuroop D

Very enthusiastic about technology and likes to share my knowledge through blogging. Has Bachelor's in Information Technology and currently pursuing my PhD in Computer Science.
This entry was posted in Python and tagged , , , , , , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s