Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

Unit 1 — Features of Python

Lesson 3 of 50 in the free Python Programming notes on Siksha Sarovar, written by Rohit Jangra.

Features of Python

Python's popularity comes from a set of well-designed language features:

FeatureExplanation
Simple & Easy to LearnClean, English-like syntax with minimal boilerplate
InterpretedCode is executed line by line by the Python interpreter (no separate compile step)
InteractiveCan be used directly at a prompt (IDLE / REPL) to test snippets
Object-OrientedSupports classes, objects, inheritance, polymorphism
High-Level LanguageProgrammer does not manage memory manually
PortableSame source code runs unmodified across operating systems
ExtensibleCan be extended with modules written in C/C++
Large Standard Library"Batteries included" — os, sys, math, random, json, etc. come built-in
Free and Open SourceDistributed under the PSF license, free to use and modify
Dynamically TypedNo need to declare variable types; types are inferred at runtime
Both Procedural & OOPSupports functions and classes, unlike purely OOP languages
GUI SupportLibraries like Tkinter, PyQt for building desktop applications
DatabasesInterfaces available for MySQL, PostgreSQL, SQLite, MongoDB
# Interpreted + dynamically typed demonstration
x = 10        # x is an int
print(type(x))
x = "hello"   # same variable, now a str — no type declaration needed
print(type(x))

Output:

<class 'int'>
<class 'str'>

Compiled vs Interpreted

Python source (.py) is first translated to bytecode (.pyc), which is then executed by the Python Virtual Machine (PVM). This is why Python is sometimes called a "compiled-interpreted" hybrid.