Introduction and evolution of python

In the early ages of programming languages like C, Pascal or FORTRAN developed and concentrate more on the functional aspects of programming or functional programming. In this type of languages, there will be more focus on writing the code using functions, functions play an important role in writing the programming code. For example, we can imagine a C program as a combination of several functions. After that Computer scientists thought that programming will become easy for human beings to understand if it is based on real-life examples. Hence, they developed Object Oriented Programming languages like Java and .NET where programming is done through classes and objects. Programmers started migrating from C to Java and Java soon became the most popular language in the software community because of its Object orient language concepts we simply called them as OOPs.

Python Vs Java Language:

In Java, a programmer should write his code logic through classes and objects only. It is not possible to write a program without writing at least one class in java. then the programming is very lengthy to write the simple program you need to write the many lines of code. For example, a simple program to add two numbers in Java looks like this:


the above java program is in this below the flow

  • define a class
  • start execution with function
  • declare the variable types
  • assign some values into the variables
  • execute the math operations
  • print the output

Python Vs C Language:

In some cases, Programmers understood that in certain cases where there is no need to go for classes or objects, this type of coding is consuming more time. In such cases, they do not want to create classes or objects; rather they want to write C style coding. The same program to Multiply two numbers can be written in C as:

In C or java tightly coded programming language if you miss a semicolon or add a single dot the program cant compiled. whereas python loosely typed language it is simple as the writing English .

if you see both programs, Java program and C program, there is no change in the lines of code. but in Java, we can write the code in object orientation like programming which is not possible in C language. C language programming style is functional as we discussed earlier.

But now Programmers need the both C and Java flavours of code, they need both the Classes and objects programming style and Functional programming style or without any of them for this Type of Programming style the only answer is Python. to overcome the drawbacks in both C language and Java language python is used.

Python Introduction

Python is a high-level programming language for interpreted, object-oriented, and dynamic data types.

Author of the Python programming language

Python was invented by Guido van Rossum at the end of 1989, and the first public release was released in 1991.

Like the Perl language, the Python source code also follows the GPL (GNU General Public License) protocol.

Python is both procedure-oriented and object-oriented high level language.

Python was developed by Guido van Rossum in the year 1991
at the Center for Mathematics and Computer Science managed by Dutch.

Python Introduction:

Python is a high-level interpretive, compulsive, interactive, and object-oriented scripting language.

Python’s Programming is very readable, it uses English keywords more regularly than other languages, and a few punctuation marks in other languages, it features a more distinctive grammatical structure than other languages.

Python is an interpreted language: it means that there isn’t any compilation in the development process. Similar to PHP and Perl.

Python is an interactive language: it means that you can write your python program directly in the Python prompt and interact interactively.

Python is an object-oriented language: it means that Python supports object-oriented style or code encapsulation in object programming techniques like Java, It inherits many programming styles from Java.

Python is a beginner’s language: Like C programming Python is a superb language for beginner programmers and it is best suitable for the programming freaks to learn faster than other Languages, and it supports a variety of application development, from simple word processing to WWW browsers ( WEBSITES WITH DJANGO and Flask) to games(many games are developed in python).


Version History of Python

Python was developed by Guido van Rossum from the Dutch Academy of Mathematics and Computer Science in the late 1980s and early 1990s.

Python itself has changed from a number of other languages, including ABC, Modula-3, C, C++, Algol-68, SmallTalk, Unix shells, and other scripting languages.
Just like the Perl language, the Python source code also follows the GPL (GNU General Public License) protocol.
Since Python is being maintained by a core team of developers, Guido van Rossum still plays an important role in guiding its progress.

Python released in many versions since from the beginning of its existence. below are the different versions of python and the released years .

python 1.0 – January 1994
Python 1.2 – April 10, 1995
Python 1.3 – October 12, 1995
Python 1.4 – October 25, 1996
Python 1.5 – December 31, 1997
Python 1.6 – September 5, 2000

Python 2.0 – October 16, 2000
Python 2.1 – April 17, 2001
Python 2.2 – December 21, 2001
Python 2.3 – July 29, 2003
Python 2.4 – November 30, 2004
Python 2.5 – September 19, 2006
Python 2.6 – October 1, 2008
Python 2.7 – July 3, 2010

Python 3.0 – December 3, 2008
Python 3.1 – June 27, 2009
Python 3.2 – February 20, 2011
Python 3.3 – September 29, 2012
Python 3.4 – March 16, 2014
Python 3.5 – September 13, 2015
Python 3.6 – December 23, 2016

Python Hello World program

Like many languages, here we are going to Write our Fist “Hello World” Python program .¬†You should run this Python program from console