Wednesday, October 2, 2019

why python progrmming language is so popular

What is python ?

Keep three points in your mind
  • is a programming language
  • high level language
  • used for general purpose

Who is father of python?

Guido van rossum
Image result for guido van rossum
 
Release year 1989
but officially release in 1991

Note:
if we compare with java which is also popular langauge
then python older than java 

Java 

Release year:- 1995
Officially Release:- 1996

Why python is so popular??

Due to requirement to current market Python is so popular programming language.

Some requirement given below:
  • Simple and easy to understand 
  • less coding
  • Compatible with all language

A question arises in your mind  how can we say it simple ,easy to understand and less coding

It's very easy 

Let us understand and compare among C ,java & python 

Write a hello world program in these language 

In C -----

#include<stdio.h>
main()
{
printf("hello world");
}

In java----

class Test
{
     public static void main(String arg[])
          {
                System.out.println("hello world");
           }
}

In python---

print("hello world")



I hope that you will understand why is simple ,easy to understand and have less coding.....


NOTE:-Python is Dynamically typed PL while  and java  is  statically typed PL.

It means without datatype it is impossible to create variable in java and c
but in python you can create variable without datatype.

Example:
a=5
print(a)

  • Python is all rounder
It means it has no specific area
it support functional programming language features, object oriented  PL features ,Script language features a, and also modular programming........



So python is most popular in this world 


 
Top websites used python see in below image:---

Image result for top most websites use python