Python Programming Language
Python Programming Language
PROGRAMMING
LANGUAGE
2
WHAT IS PYTHON?
Python is an interpreted, object-oriented,
high-level programming language with
dynamic semantics. Its high-level built in
data structures, combined with dynamic
typing and dynamic binding, make it very
attractive for Rapid Application Development,
as well as for use as a scripting or glue
language to connect existing components
together
3
COMPILER VS INTERPRETER
• A compiler is a translator that produces an output of low-level
language (like an assembly or machine language) by taking an input
of high-level language. It is basically a computer program used to
transform codes written in a programming language into
machine .The computer then processes the machine code for
performing the corresponding tasks.
Artificial Intelligence
Data Analytics
Image Processing
Web Development
Automation/Scripting
Game Development
Database Programming
6
LISTS
DICTIONARY
A dictionary is a kind of data structure that stores
items in key-value pairs.
A key is a unique identifier for an item, and a value
is the data associated with that key.
Dictionaries are created using curly braces {}. The
key is on the left side of the colon (:) and the value
is on the right
There are two ways to access a dictionary element
in Python.
o The first is by using the get() method.
o The second way to access a dictionary
element is using the [] operator.
DICTIONARY OPERATIONS
11
TUPLES 12
DEFINING A FUNCTION
THANK YOU