Python 02
Python 02
Features of Python
Python is a general-purpose, dynamically typed, high-level, compiled and
interpreted, garbage-collected, and purely object-oriented programming language
that supports procedural, object-oriented, and functional programming.
Easy to use and Read - Python's syntax is clear and easy to read, making it an
ideal language for both beginners and experienced programmers. This simplicity
can lead to faster development and reduce the chances of errors.
Dynamically Typed - The data types of variables are determined during run-
time. We do not need to specify the data type of a variable during writing codes.
High-level - High-level language means human readable code.
Compiled and Interpreted - Python code first gets compiled into bytecode, and
then interpreted line by line. When we download the Python in our system
form org we download the default implement of Python known as CPython.
CPython is considered to be Complied and Interpreted both.
Garbage Collected - Memory allocation and de-allocation are automatically
managed. Programmers do not specifically need to manage the memory.
Purely Object-Oriented - It refers to everything as an object, including numbers
and strings
Variable in Python