python_Test
python_Test
Guido van Rossum developed Python between 1985 and 1990 at the National Research
Institute for Mathematics and Computer Science in the Netherlands and officially
released on 20 February 1991.
The language derives its name from a very popular Comedy British television series
"Monty Python's Flying Circus."
Python – A General Purpose, Interpreted & Interactive
High Level Programming Language
Python, an interpreted and interactive programming
language, serves as a general-purpose tool for various tasks.
The GNU General Public License is a series of widely used free software licenses that
guarantee end users the four freedoms to run, study, share, and modify the software.
Anaconda is a distribution of Python and R for scientific computing, simplifying package
management. It includes preinstalled data-science packages for Windows, Linux, and
macOS.
With Anaconda, one can create environments with different Python and package versions,
install/remove/upgrade packages, and benefit from a consistent project environment.
Anaconda saves time by avoiding individual package configuration and provides a package
manager called Conda for easy installation and management.
Spyder –
Variable Explorer Python Integrated
Development
Environment (IDE)
Features Limitations
• Interpreted Programming Lang. Not Easily Convertible
• Supports OOPs concepts Not very strong in catching “Type Mismatch” errors
Sequential Statements
Conditional Statements
Iterative Statements
Conditional Statements
if statement: Consists of a boolean
expression followed by one or more
statements.
if expression:
statement(s)
while expression:
statement(s)
The continue statement: Causes the loop to skip the remainder of its body
and immediately retest its condition prior to reiterating. This statement can be
used both in while and for loops.
complex - used to represent complex numbers. e.g. 1.0 + 2.0j, 1.5 + 2.5j