What is Python Programming?

Python programming- Python is an object-oriented, interpreted high-level programming language along with dynamic semantics. Its high-level built-in data structures and algorithms, combined with dynamic typing binding, make it very attractive and special for Rapid Application Development(RAD), and for use as a scripting or a glue language to attach already existing components together. Python is a simple, easy-to-learn syntax that emphasizes readability and therefore drastically reduces the cost required for program maintenance.

Python supports and provides modules and packages, which increases program modularity and code reuse. Its interpreter and the wide and extensive standard library are freely available in source or binary form for all major platforms and can even be freely distributed. And even debugging the programs is easy, a bug or bad input surely will never cause a segmentation fault. When the interpreter discovers an error, it throws an exception. When the program doesn’t get the exception, the interpreter prints or gives a stack trace. A source-level debugger allows a check of local and global variables, setting breakpoints, evaluation of arbitrary expressions, stepping through the code lines one by one, and so on.

 Comparing Python with other programming languages:

It relies on indentation or using whitespace to define a scope; For example the scope of loops, functions, or classes. Other programming languages mostly use curly brackets for this purpose.

It was designed for readability and has some very similarities to the English language with influence from mathematics.

It uses new lines to complete the command, in contrast to other programming languages which often use semicolons or parentheses.

For example :

  1. To print “Hello, World!” in python we write
print(“Hello, World!”);
  1. To print the result of any operation say addition we can write


Tags: No tags

Add a Comment

Your email address will not be published. Required fields are marked *