Why learn Python

Image source: https://www.pexels.com/photo/green-snake-45246/

The Zen of Python is a collection of 19 “guiding principles” for writing computer programs that influence the design of the Python programming language.[1]. (Source: Wikipedia )

Python is an interpreted high-level general-purpose programming language. Python’s design philosophy emphasizes code readability with its notable use of significant indentation. Its language constructs as well as its object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.[29] (source: Wikipedia )

Image source: https://www.pexels.com/photo/grayscale-photo-of-computer-laptop-near-white-notebook-and-ceramic-mug-on-table-169573/

It is a language of multi paradigm

Python is dynamically-typed and garbage-collected. It supports multiple programming paradigms, including structured (particularly, procedural), object-oriented and functional programming. Python is often described as a “batteries included” language due to its comprehensive standard library. (source: Wikipedia)

Syntax and semantics

#include<stdio.h>

int main(){

printf(“Hello world”);

return 0;

}

print(“Hello world”)

Forget variable declarations!

a = 50

a = 50.6

a = “Hello world”

print(a)

Python Libraries are the main attraction:

Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python. ( Source: https://matplotlib.org/ )

NumPy is a library for the Python programming language, adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays.[5] (source: Wikipedia )

Image source: https://www.pexels.com/photo/brown-python-2062316/

References:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store