CBSE Class 11: Python Introduction And Features 1

Introduction

Python is a powerful high-level, object-oriented programming language created by Guido van Rossum.

It has simple easy-to-use syntax, making it the perfect language for someone trying to learn computer programming for the first time.

Python is an object-oriented, high-level language, interpreted, dynamic and multipurpose programming language.

Python is easy to learn yet powerful and versatile scripting language which makes it attractive for Application Development.

Python’s syntax and dynamic typing with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas.

Python supports multiple programming patterns, including object-oriented programming and functional programming or procedural styles.

Python makes the development and debugging fast because there is no compilation step included in python development and the edit-test-debug cycle is very fast.

Why the name Python?

It wasn’t named after a dangerous snake. Rossum was a fan of a comedy series from the late seventies. The name “Python” was adopted from the same series “Monty Python’s Flying Circus”.

Why Should you Learn Python Programming?

Writing Python code is so much fun that you won’t feel it like a routine programming task. Here are a bunch of compelling reasons for you to learn Python and read this Python tutorial.

Simple Programming Syntax

Python is the language that even a non-programmer can understand. It is a highly readable, problem-oriented language that lets you focus on writing the logic instead of getting into the syntax nitty-gritty.

Here is a sample program for implementing “Sum of two numbers”. By looking at it, you can feel how easy it is to write and understand the code in Python.

a=10
b=20
c=a+b
print(a)
print(b)
print(c)

Output:

10
20
30
>>>

No Variable Declaration required

In Python, don’t use type specifiers for declaring variables. You can do so without mentioning any data types in Python. Also, there is no need to use any separator like a semicolon to mark the end of a statement.

In Python, indentation replaces brackets to group a block of instructions.

Python Support OOPs concepts

Object-Oriented Programming (OOP) comes built into the Python language. It lays down a model that derives a solution by creating objects, defining relationships, and binding data. However, the procedural programming methodology takes on a top-down approach and solves one problem at a time while splitting it into smaller ones. On the other hand, OOP is a bottom-up problem-solving technique that seeks a blueprint of the solution at the onset and leaves implementation for the later.

Using classes, building inheritance, and constructing objects are keys to developing yourself as a professional programmer. And you can quickly master these concepts in Python and produce better quality projects, quicker than in other languages.

Python lets you minimize the size of code you write and accomplishes more.