Posts

Showing posts with the label features

Features of Python

Let us take a closer look at some of the salient features of Python. 1. Enhanced Readability In Python, uniform indents are used to delimit blocks of statements instead of curly brackets like in C, C++ and Java. This enhances readability. In  C, C++, Java if (X%2==0) { if (x%3==0)    System.out.println("divisible by 2 and 3"); else    System.out.println("divisible by 2 not divisible by 3"); } else { if (x%3==0)    System.out.println("divisible by 3 not divisible by 2"); else    System.out.println("not divisible by 3 nor by 2"); } In Python if num%2 == 0:    if num%3 == 0:        print ("Divisible by 3 and 2")    else:        print ("Divisible by 2 not divisible by 3") else:    if num%3 == 0:        print ("Divisible by 3 not divisible by 2")    else:       ...

What is Python ?

Python is a popular "High Level Programming Language" Lets learn how it came about and what makes it so popular. According to the TIOBE (The Importance Of Being Earnest) community index, Python is currently ranked no. #4. Which is pretty high than the rest. The index is calculated taking various search engine results into account. Python is being used in various application areas such as : Web Development Scientific Computing Data Analytics and so on.... Python supports multiple programming paradigms including : Imperative Object Oriented Procedural Functional programming styles. It is also an Open Source Language. Many developers contribute towards its development. However, Guido van Rossum (BDFL) is the principle author. The Python community has affectionately given him the title of Benevolent Dictator for Life. The Design Philosophy of Python is summarized in a collection of 20 principles.Some of which are : Beautiful is better than ugly. ...