Ticker

6/recent/ticker-posts

Why We Choose Python as Frist Language?

Why We Choose Python as Frist Language?






The main reason to choose python as a first language to learn for beginners as well as working professionals 

The major reason to learn python

  • Simple elegant syntax
 
 example:  a=2                      
                    b=3                     
                    sum=a+b                       output: 5
                    print(sum)

Example syntax to get the same output in C++

                #include<iostream>
                int main()
               {
                int a,b;
                c=a+b;
                count<< c;
                 }                                    output:5


  • Not overly strict
  • The expressiveness of the language
  • Great community and support
  • We get regular updates
  • The python IDLE mode also used as a simple as well as an easy calculator 
           Example:      >>>2+3
                                   5
                                  >>>3/2
                                  1.5
  •  And also a python IDLE mode supports complex mathematical problems
          Example:       >>>a=2+5j
                                   >>>b=1+3j
                                   >>>a+b
                                   3+8j

This is the major reason to learn python as your first language and this is a reason to use python as their platform language in major companies (Google, Facebook, and...)



Post a Comment

0 Comments