Python Introduction 1
Python Introduction 1
What is Python
Python is a general purpose, dynamic, high-level, and interpreted
programming language. It supports Object Oriented programming
approach to develop applications. It is simple and easy to learn and
provides lots of high-level data structures.
Python Features
1) Easy to Learn and Use
2) Expressive Language
Python can perform complex tasks using a few lines of code. A simple
example, the hello world program you simply type print("Hello World").
3) Interpreted Language
Python is an interpreted language; it means the Python program is
executed one line at a time. The advantage of being interpreted
language, it makes debugging easy and portable.
4) Cross-platform Language
Python can run equally on different platforms such as Windows, Linux,
UNIX, and Macintosh, etc. So, we can say that Python is a portable
language. It enables programmers to develop the software for several
competing platforms by writing a program only once.
5) Free and Open Source
Python is freely available for everyone. It is freely available on its official
website www.python.org
8) Large Standard Library
It provides a vast range of libraries for the various fields such as machine
learning, web developer, and also for the scripting.
9) GUI Programming Support
Graphical User Interface is used for the developing Desktop application.
12. Dynamic Memory Allocation
In Python, we don't need to specify the data-type of the variable. When
we assign some value to the variable, it automatically allocates the
memory to the variable at run time. Suppose we are assigned integer
value 15 to x, then we don't need to write int x = 15. Just write x = 15.
What is Programming?
Programming is a collaboration between humans and computers.
Programming is giving a set of instructions to a computer to execute.
Programming VS Coding:
Programming -
Programming is the mental process of thinking up instructions to give to a
machine (like a computer).
Coding -
Coding is the process of transforming those ideas into a written language
that a computer can understand.