1.2 Introduction To Programming With Python (Cont)
1.2 Introduction To Programming With Python (Cont)
PROGRAMMING 2
ELEZEAR R. REPIL
More about Python
• Python is a high-level, general-purpose and a very popular
programming language.
• Python programming language (latest Python 3) is being used in
web development, Machine Learning applications, along with all
cutting edge technology in Software Industry.
• Python Programming Language is very well suited for Beginners,
also for experienced programmers with other programming
languages like C++ and Java.
More about Python
The name Python was selected from "Monty Python's Flying Circus" which
was a British sketch comedy series created by the comedy group Monty
Python and broadcast by the BBC from 1969 to 1974
Python was created in the early 1990s by Guido van Rossum at the National
Research Institute for Mathematics and Computer Science in Netherlands.
Centrum Wiskunde en Informatica
(CWI) is the national research institute A lambda function can take any
for mathematics and computer number of arguments, but can
science in the Netherlands only have one expression.
Python Features
Readability and Simplicity:
• Python emphasizes code readability and a clean, easy-to-understand syntax.
• The use of indentation for block structure makes code more readable.
Expressive Language:
• Python allows developers to express ideas in fewer lines of code compared to
languages like C++ or Java.
• In another word, all the statements with the same space to the
right, belong to the same code block.
Indentation in Python
Python Coding Style
Use 4 spaces per indentation.
Python Coding Style
Maximum line
length : 79
characters
which help
users with a
small display.
Python Coding Style