0% found this document useful (0 votes)
3 views36 pages

Python Introduction

The document provides an introduction to Python programming, covering its definitions, features, installation methods, and various data structures. It highlights Python's versatility as both a programming and scripting language, its support for multiple programming paradigms, and key features such as being open-source and easy to learn. Additionally, it discusses flow control mechanisms, including operators, loops, and conditional statements.

Uploaded by

aastha aggarwal
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views36 pages

Python Introduction

The document provides an introduction to Python programming, covering its definitions, features, installation methods, and various data structures. It highlights Python's versatility as both a programming and scripting language, its support for multiple programming paradigms, and key features such as being open-source and easy to learn. Additionally, it discusses flow control mechanisms, including operators, loops, and conditional statements.

Uploaded by

aastha aggarwal
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Introduction to

Python Programming
Agenda Layout

01 Python Introduction

02 Python Features

03 Data Structures in Python

04 Operators in Python

05 Flow Control
Introduction to Python
Definitions, difference with other programming languages, key points..
Python Introduction

 Python is Programming Language as well as Scripting Language

 Python is Interpreted, Object-oriented, High level Programming


Language
 Difference between Interpreted and Complier
 Difference between Procedure and Object oriented language

 It supports several different programing paradigms:


 Procedural programming
 Object oriented programming
 Functional programming
Python Installation

 Python is Installed in mainly in 2 ways:


 Official Python website ([Link] & ch
oose your version.

 Using Anaconda Navigator ([Link]


bution/) & choose your Version
Python Features
Key features, why we use Python
Python Features
 Python is free and Open Source programme

 Python is simple and easy to learn


 It can be used in Various IDE – like Spyder, Pythonshell, Jupyter
notebook etc..

 Indentation is one of the greatest feature in Python

 Most powerful – Library Utilities, Automatic memory management


 Portable – it is supported in many platforms like Linux, Windows,
Mac, playstation etc..

 Supports Different programming paradigm.


Python Data Structures
Numbers, Strings, Tuple, List, Dictionary, Set
Python Data structure
 Everything in a python is an object
 Every has object has an identity, type and value

 To determine a variable’s type in python – type( )

 Mutable – objects whose value can be changed/modified


 Immutable – objects whose values can’t be changed/modified
Python Numbers
Python String
Strings Operations
Strings Operations
Strings Operations
Python Tuples
Tuples Operations
Python Lists
Lists Operations
Lists Operations
Python Dictionaries
Dictionaries Operations
Dictionaries Operations
Dictionaries Operations
Python Sets
Sets Operations
Operators in Python
7 various operators in Python
Flow Controls in Python
Flow controls, loops, break, continue
If Statement
If.. Elif.. Else.. Statement
Python Loops
While Loops
For Loops
Break
Continue

You might also like