SlideShare a Scribd company logo
PRESENTATION ON
PYTHON
NAME – AMIT SINGH
UNIVERSITY ROLL NO - 14501221093
TOPIC – INTRODUCTION TO
PYTHON
CONTENT-
 INTRODUCTION
 ORIGIN
 FEATURES
 INDENTATION
 VARIABLES
 OPERATORS
 DATATYPES
 DECISION MAKING
 CONTROL FLOW
 FUNCTIONS
 OOPS
 CONCLUSION
INTRODUCTION
 Python is an open source , general purpose programming language that is easy to
read .
 It is an interpreted language , which do not need to be compiled to run .
 Python is high level language that will make a programmer focus on what to do
instead of how to do .
 Python has been designed to emphasize on code readability with its significant use
of whitespace .
 Writing programs in python is less time consuming compared to any other
languages .
ORIGIN
SIR GUIDO VAN ROSSUM
Python is an interpreted high-level
programming language for general-
purpose programming .Created by
“GUIDO VAN ROSSUM “ and first
released in 1991. Python has a design
philosophy that emphasizes code
readability. Notable using significant
white space .it provides construct the
enable clear programming on both
small an large scales .
FEATURES
 Easy to code
 Free and open source
 Object and oriented language
 Gui programming support
 High-level language
 Extensible feature
 Python is portable language
 Python is integrated language
INDENTATION
Indentation is a very important concept of python because without proper indenting
the python code , you will end up seeing INDENTATION ERROR and the code will not
get compiled .
Python indentation is a way of telling a python interpreter that the group of
statements belongs to a particular block of code . A block is a combination of all
these statements . Block can be regarded as the grouping of statements for a specific
purpose .
VARIABLES
Variables are nothing but reserved memory locations to store values .
This means that when you create a variable you reserve some space in memory .
Example :-
X=5
Y=“john”
print(x)
print(y)
OPERATORS
Operators are used to perform operations on variables and operators are the main
building block of any programming language . Operators allow the programmer to
perform different kinds of operations on operand values .
Example :-
print (10+5)
 Python divides the operators in the following groups:-
 Arithmetic operators
 Assignment operators
 Comparison operators
 Logical operators
 Identity operators
 Membership operators
 Bitwise operators
DATATYPES
Data types are the classification or categorized of data items . Pythons supports the
following built-in data types
Following are the standard or built –in data types of python :-
 Numeric
 Sequence type
 Boolean
 Set
 Dictionary
DECISION MAKING
Decision in a program are used when the program has conditional choices to execute
a code block . Let’s take an example of traffic lights , where different colors of lights lit
up in different situations based on the conditions based on the conditions of the road
or any specific rule .
 IF STATEMENT
 IF - ELSE STATEMENT
 NESTED IF STATEMENTS
 IF – ELIF LADDER
CONTROL FLOW
Loops in programming come into use when we need to repeatedly Execute a block of
statements . For example : Suppose we want to print “HELLO WORLD” 10 times . This can be
done with the help of loops . The loops in python are :-
 While and while-else loop
 For and for-else loop
FUNCTIONS
 Functions are generally the block of codes or statements in a program that gives
the User the ability to reuse the same code which ultimately saves the excessive
use of memory ,acts as a time saver and more importantly . Provides better
readability of the Code .
 So basically , a function is a collection of statements that perform some specific
task and return the result to the caller .
 A function can also perform some specific task without returning anything .
OOPS
 Object – oriented programming (OOP) is a method of structuring a program by bundling related
properties and behaviors into individual object .
Class
 A class is a blueprint for the object . We can think of class as a sketch of a parrot witg labels . It
contains all the details about the name , colors , size etc.
Object
 An object (instance) is an instantiation of a class . When class is defined , only the description for
the object is defined . Therefore , no memory or storage is allocated .
CONCLUSION
At last we want to say that , python is a fully-fledged programming language. Any
code you can download the python package index, or anywhere else , can be
malicious and would almost certainly go unnoticed by most people’s firewalls .
PRESENTATION ON PYTHON.pptx

More Related Content

Similar to PRESENTATION ON PYTHON.pptx

Introduction_to_Python.pptx
Introduction_to_Python.pptxIntroduction_to_Python.pptx
Introduction_to_Python.pptx
Vinay Chowdary
 
Python Course.docx
Python Course.docxPython Course.docx
Python Course.docx
AdnanAhmad57885
 
Python | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialPython | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python Tutorial
QA TrainingHub
 
Python Training in Chandigarh
Python Training in ChandigarhPython Training in Chandigarh
Python Training in Chandigarh
Excellence Technology
 
Python Programming-1.pptx of python by computer
Python Programming-1.pptx of python by computerPython Programming-1.pptx of python by computer
Python Programming-1.pptx of python by computer
sharanyarashmir5
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
MuhammadBakri13
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
DrMohammed Qassim
 
Python_Introduction_Good_PPT.pptx
Python_Introduction_Good_PPT.pptxPython_Introduction_Good_PPT.pptx
Python_Introduction_Good_PPT.pptx
lemonchoos
 
Python presentation of Government Engineering College Aurangabad, Bihar
Python presentation of Government Engineering College Aurangabad, BiharPython presentation of Government Engineering College Aurangabad, Bihar
Python presentation of Government Engineering College Aurangabad, Bihar
UttamKumar617567
 
Python Applications by The Knowledge Academy.docx
Python Applications by The Knowledge Academy.docxPython Applications by The Knowledge Academy.docx
Python Applications by The Knowledge Academy.docx
AbhinavSharma309481
 
Python basics
Python basicsPython basics
Python basics
ssuser4e32df
 
Python training
Python trainingPython training
Python training
Kunalchauhan76
 
Features of Python.pdf
Features of Python.pdfFeatures of Python.pdf
Features of Python.pdf
SudhanshiBakre1
 
Cmpe202 01 Research
Cmpe202 01 ResearchCmpe202 01 Research
Cmpe202 01 Research
vladimirkorshak
 
Research paper on python by Rj
Research paper on python by RjResearch paper on python by Rj
Research paper on python by Rj
Shree M.L.Kakadiya MCA mahila college, Amreli
 
Features of python.pptx
Features of python.pptxFeatures of python.pptx
Features of python.pptx
Ritesh Kumar Thakur
 
Python unit1
Python unit1Python unit1
Intro to Python
Intro to PythonIntro to Python
Intro to Python
primeteacher32
 
Why Python in required in Civil Engineering
Why Python in required in Civil EngineeringWhy Python in required in Civil Engineering
Why Python in required in Civil Engineering
Rushikesh Kolhe
 
Python-Mastering-the-Language-of-Data-Science.pptx
Python-Mastering-the-Language-of-Data-Science.pptxPython-Mastering-the-Language-of-Data-Science.pptx
Python-Mastering-the-Language-of-Data-Science.pptx
dmdHaneef
 

Similar to PRESENTATION ON PYTHON.pptx (20)

Introduction_to_Python.pptx
Introduction_to_Python.pptxIntroduction_to_Python.pptx
Introduction_to_Python.pptx
 
Python Course.docx
Python Course.docxPython Course.docx
Python Course.docx
 
Python | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialPython | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python Tutorial
 
Python Training in Chandigarh
Python Training in ChandigarhPython Training in Chandigarh
Python Training in Chandigarh
 
Python Programming-1.pptx of python by computer
Python Programming-1.pptx of python by computerPython Programming-1.pptx of python by computer
Python Programming-1.pptx of python by computer
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
 
Python_Introduction_Good_PPT.pptx
Python_Introduction_Good_PPT.pptxPython_Introduction_Good_PPT.pptx
Python_Introduction_Good_PPT.pptx
 
Python presentation of Government Engineering College Aurangabad, Bihar
Python presentation of Government Engineering College Aurangabad, BiharPython presentation of Government Engineering College Aurangabad, Bihar
Python presentation of Government Engineering College Aurangabad, Bihar
 
Python Applications by The Knowledge Academy.docx
Python Applications by The Knowledge Academy.docxPython Applications by The Knowledge Academy.docx
Python Applications by The Knowledge Academy.docx
 
Python basics
Python basicsPython basics
Python basics
 
Python training
Python trainingPython training
Python training
 
Features of Python.pdf
Features of Python.pdfFeatures of Python.pdf
Features of Python.pdf
 
Cmpe202 01 Research
Cmpe202 01 ResearchCmpe202 01 Research
Cmpe202 01 Research
 
Research paper on python by Rj
Research paper on python by RjResearch paper on python by Rj
Research paper on python by Rj
 
Features of python.pptx
Features of python.pptxFeatures of python.pptx
Features of python.pptx
 
Python unit1
Python unit1Python unit1
Python unit1
 
Intro to Python
Intro to PythonIntro to Python
Intro to Python
 
Why Python in required in Civil Engineering
Why Python in required in Civil EngineeringWhy Python in required in Civil Engineering
Why Python in required in Civil Engineering
 
Python-Mastering-the-Language-of-Data-Science.pptx
Python-Mastering-the-Language-of-Data-Science.pptxPython-Mastering-the-Language-of-Data-Science.pptx
Python-Mastering-the-Language-of-Data-Science.pptx
 

More from AmitSingh770691

Internet.pptx
Internet.pptxInternet.pptx
Internet.pptx
AmitSingh770691
 
Presentation on entrepreneurship.pptx
Presentation on entrepreneurship.pptxPresentation on entrepreneurship.pptx
Presentation on entrepreneurship.pptx
AmitSingh770691
 
INTRODUCTION TO DATA STRUCTURE.pptx
INTRODUCTION TO DATA STRUCTURE.pptxINTRODUCTION TO DATA STRUCTURE.pptx
INTRODUCTION TO DATA STRUCTURE.pptx
AmitSingh770691
 
C vs JAVA.pptx
C vs JAVA.pptxC vs JAVA.pptx
C vs JAVA.pptx
AmitSingh770691
 
DSS (“DATA, INFORMATION & KNOWLEDGE”).pptx
DSS (“DATA, INFORMATION & KNOWLEDGE”).pptxDSS (“DATA, INFORMATION & KNOWLEDGE”).pptx
DSS (“DATA, INFORMATION & KNOWLEDGE”).pptx
AmitSingh770691
 
SE(Computer Based Information Systems (CBIS)).pptx
SE(Computer Based Information Systems (CBIS)).pptxSE(Computer Based Information Systems (CBIS)).pptx
SE(Computer Based Information Systems (CBIS)).pptx
AmitSingh770691
 
c vs java (2).pptx
c vs java (2).pptxc vs java (2).pptx
c vs java (2).pptx
AmitSingh770691
 
FUNCTIONS OF OPERATING SOFTWARE.pptx
FUNCTIONS OF OPERATING SOFTWARE.pptxFUNCTIONS OF OPERATING SOFTWARE.pptx
FUNCTIONS OF OPERATING SOFTWARE.pptx
AmitSingh770691
 
DBMS(Network_Data_Model).pptx
DBMS(Network_Data_Model).pptxDBMS(Network_Data_Model).pptx
DBMS(Network_Data_Model).pptx
AmitSingh770691
 
CLOUD COMPUTING.pptx
CLOUD COMPUTING.pptxCLOUD COMPUTING.pptx
CLOUD COMPUTING.pptx
AmitSingh770691
 

More from AmitSingh770691 (10)

Internet.pptx
Internet.pptxInternet.pptx
Internet.pptx
 
Presentation on entrepreneurship.pptx
Presentation on entrepreneurship.pptxPresentation on entrepreneurship.pptx
Presentation on entrepreneurship.pptx
 
INTRODUCTION TO DATA STRUCTURE.pptx
INTRODUCTION TO DATA STRUCTURE.pptxINTRODUCTION TO DATA STRUCTURE.pptx
INTRODUCTION TO DATA STRUCTURE.pptx
 
C vs JAVA.pptx
C vs JAVA.pptxC vs JAVA.pptx
C vs JAVA.pptx
 
DSS (“DATA, INFORMATION & KNOWLEDGE”).pptx
DSS (“DATA, INFORMATION & KNOWLEDGE”).pptxDSS (“DATA, INFORMATION & KNOWLEDGE”).pptx
DSS (“DATA, INFORMATION & KNOWLEDGE”).pptx
 
SE(Computer Based Information Systems (CBIS)).pptx
SE(Computer Based Information Systems (CBIS)).pptxSE(Computer Based Information Systems (CBIS)).pptx
SE(Computer Based Information Systems (CBIS)).pptx
 
c vs java (2).pptx
c vs java (2).pptxc vs java (2).pptx
c vs java (2).pptx
 
FUNCTIONS OF OPERATING SOFTWARE.pptx
FUNCTIONS OF OPERATING SOFTWARE.pptxFUNCTIONS OF OPERATING SOFTWARE.pptx
FUNCTIONS OF OPERATING SOFTWARE.pptx
 
DBMS(Network_Data_Model).pptx
DBMS(Network_Data_Model).pptxDBMS(Network_Data_Model).pptx
DBMS(Network_Data_Model).pptx
 
CLOUD COMPUTING.pptx
CLOUD COMPUTING.pptxCLOUD COMPUTING.pptx
CLOUD COMPUTING.pptx
 

Recently uploaded

How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
Rakesh Kumar R
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
Sven Peters
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
SOCRadar
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
Quickdice ERP
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Julian Hyde
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
Remote DBA Services
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Undress Baby
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
Yara Milbes
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 

Recently uploaded (20)

How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 

PRESENTATION ON PYTHON.pptx

  • 1. PRESENTATION ON PYTHON NAME – AMIT SINGH UNIVERSITY ROLL NO - 14501221093
  • 3. CONTENT-  INTRODUCTION  ORIGIN  FEATURES  INDENTATION  VARIABLES  OPERATORS  DATATYPES  DECISION MAKING  CONTROL FLOW  FUNCTIONS  OOPS  CONCLUSION
  • 4. INTRODUCTION  Python is an open source , general purpose programming language that is easy to read .  It is an interpreted language , which do not need to be compiled to run .  Python is high level language that will make a programmer focus on what to do instead of how to do .  Python has been designed to emphasize on code readability with its significant use of whitespace .  Writing programs in python is less time consuming compared to any other languages .
  • 5. ORIGIN SIR GUIDO VAN ROSSUM Python is an interpreted high-level programming language for general- purpose programming .Created by “GUIDO VAN ROSSUM “ and first released in 1991. Python has a design philosophy that emphasizes code readability. Notable using significant white space .it provides construct the enable clear programming on both small an large scales .
  • 6. FEATURES  Easy to code  Free and open source  Object and oriented language  Gui programming support  High-level language  Extensible feature  Python is portable language  Python is integrated language
  • 7. INDENTATION Indentation is a very important concept of python because without proper indenting the python code , you will end up seeing INDENTATION ERROR and the code will not get compiled . Python indentation is a way of telling a python interpreter that the group of statements belongs to a particular block of code . A block is a combination of all these statements . Block can be regarded as the grouping of statements for a specific purpose .
  • 8. VARIABLES Variables are nothing but reserved memory locations to store values . This means that when you create a variable you reserve some space in memory . Example :- X=5 Y=“john” print(x) print(y)
  • 9. OPERATORS Operators are used to perform operations on variables and operators are the main building block of any programming language . Operators allow the programmer to perform different kinds of operations on operand values . Example :- print (10+5)  Python divides the operators in the following groups:-  Arithmetic operators  Assignment operators  Comparison operators  Logical operators  Identity operators  Membership operators  Bitwise operators
  • 10. DATATYPES Data types are the classification or categorized of data items . Pythons supports the following built-in data types Following are the standard or built –in data types of python :-  Numeric  Sequence type  Boolean  Set  Dictionary
  • 11. DECISION MAKING Decision in a program are used when the program has conditional choices to execute a code block . Let’s take an example of traffic lights , where different colors of lights lit up in different situations based on the conditions based on the conditions of the road or any specific rule .  IF STATEMENT  IF - ELSE STATEMENT  NESTED IF STATEMENTS  IF – ELIF LADDER
  • 12. CONTROL FLOW Loops in programming come into use when we need to repeatedly Execute a block of statements . For example : Suppose we want to print “HELLO WORLD” 10 times . This can be done with the help of loops . The loops in python are :-  While and while-else loop  For and for-else loop
  • 13. FUNCTIONS  Functions are generally the block of codes or statements in a program that gives the User the ability to reuse the same code which ultimately saves the excessive use of memory ,acts as a time saver and more importantly . Provides better readability of the Code .  So basically , a function is a collection of statements that perform some specific task and return the result to the caller .  A function can also perform some specific task without returning anything .
  • 14. OOPS  Object – oriented programming (OOP) is a method of structuring a program by bundling related properties and behaviors into individual object . Class  A class is a blueprint for the object . We can think of class as a sketch of a parrot witg labels . It contains all the details about the name , colors , size etc. Object  An object (instance) is an instantiation of a class . When class is defined , only the description for the object is defined . Therefore , no memory or storage is allocated .
  • 15. CONCLUSION At last we want to say that , python is a fully-fledged programming language. Any code you can download the python package index, or anywhere else , can be malicious and would almost certainly go unnoticed by most people’s firewalls .