SlideShare a Scribd company logo
1 of 16
โ€œMy favorite language for maintainability is Python. It
has simple, clean syntax, object encapsulation, good
library support, and optional named parameters .โ€
- Bram Cohen
Submitted By :- William john
Course :- B.E.Computer science (7thsem )
Date :- 20/09/19
What is
Python..?
Basic
History
Features
Of
Pyhton
Applica
-tions
Key-words
Index
What is Python
..?
: - Python is a general purpose, high level, and interpreted
programming language. It supports Object Oriented
programming approach to develop applications. It is simple
and easy to learn and provides lots of high-level data
structures.
: - Python is easy to learn yet powerful and versatile scripting
language, which makes it attractive for Application
Development..
Example :
Python program to add two numbers :
Input- num1 = 5
num2 = 3
sum = num1 + num2
Print(โ€œsum of {0} and {1} is {2}โ€ .format(num1, num2, sum))
Output- sum of 5 and 3 is 8
โ€œPython laid its foundation in the late 1980s.โ€
โ€œThe implementation of Python was started in the December
1989 by Guido Van Rossum at CWI in Netherlandโ€
Python 2.0 added new features like: list comprehensions,
garbage collection system.
โ€œIn February 1991, van Rossum published the code (labeled
version 0.9.0) to alt.sources.โ€
In 1994, Python 1.0 was released with new features like:
lambda, map, filter, and reduce.
History of Python
History of Python
On December 3, 2008, Python 3.0 (also called "Py3K") was
released. It was designed to rectify fundamental flaw of the
language.
ABC programming language is said to be the predecessor of
Python language which was capable of Exception Handling and
interfacing with Amoeba Operating System.
Python is influenced by following programming Languages :
ABC language
Modula-3
โ€œPython is an interpreted language i.e. interpreter executes the code line
by line at a time. This makes debugging easy and thus suitable for
beginners.โ€
โ€œPython language is more expressive means that it is more understandable
and readable.โ€
โ€œPython is easy to learn and use. It is developer-friendly and high level
programming language.โ€
Features of Python
Easy
Expressive
Language
Interpreted
Language
โ€œGraphical user interfaces can be developed using Python..โ€
โ€œPython has a large and broad library and prvides rich set of module and
functions for rapid application development..โ€
โ€œIt implies that other languages such as C/C++ can be used to compile the
code and thus it can be used further in our python code.โ€
Features of Python
Extensible
Large Standard
Library
GUI Programming
Support
โ€œPython supports object oriented language and concepts of classes and
objects come into existence..โ€
โ€œPython language is freely available at offical web address.The source-code
is also available. Therefore it is open source.โ€
โ€œPython can run equally on different platforms such as Windows, Linux,
Unix and Macintosh etc. So, we can say that Python is a portable
language.โ€
Features of Python
Cross-platform
Language
Free and Open
Source
Object-Oriented
Language
โ€œThat means the type (for example- int, double, long etc) for a variable is
decided at run time not in advance.because of this feature we donโ€™t need
to specify the type of variable..โ€
โ€œWhen we write programs in python, we do not need to remember the
system architecture, nor do we need to manage the memory..โ€
โ€œIt can be easily integrated with languages like C, C++, JAVA etc.โ€
Features of Python
Integrated
High-Level
Language
Dynamically Typed
Language
Applications
Desktop
GUI
Applications
Scientific
and
Numeric
Software
Developme-
nt
Web
Applications
Business
Applications
Console
Based
Application
Audio or
Video based
Applications
3D CAD
Applications
Application
s for Images
Keywords
Sort
Reverse
SplitRound
Comprehe
-nsion
Slicing
Index Range Delete
Round
Example :
Input โ€“
x = round(5.76543, 2)
print(x)
Output โ€“
5.77
Sort
Example :
Input โ€“
#List of integers
Numbers = [1,3,4,2]
#Sorting list of integers
Numbers .Sort()
print(Numbers)
Output โ€“
[1,2,3,4]
Split
Example :
Input โ€“
text = 'geeks for geeksโ€™
# Splits at space
print(text.split())
Output โ€“
['geeks', 'for', 'geeks']
Reverse
Example :
Input โ€“
#a list of numbers
list1 = [1, 2, 3, 4, 1, 2,6]
list1.reverse()
print(list1)
Output โ€“
[6, 2, 1, 4, 3, 2, 1]
Slicing
Example :
Input โ€“
#list1[start : end : step]
list1 = [1,2,3,4,5,6,7,8]
print(โ€œlist: โ€œlist1)
print(โ€œAfter Slicingโ€)
print(list1[1:4:1]
Output โ€“
List : [1,2,3,4,5,6,7,8]
After Slicing
[2,3,4]
Index
Example :
Input โ€“
#list index() method
list1 = [1, 2, 3, 4, 1, 1, 1, 4, 5]
# Will print the index of '4' in
list1
print(list1.index(4))
Output โ€“
3
Range
Example :
Input โ€“
#printing a number
for i in range(10):
print(i, end =" ")
print()
Output โ€“
0 1 2 3 4 5 6 7 8 9
Delete
Example :
Input โ€“
list = [2, 1, 3, 5, 4, 3, 8]
# deletes 3,5,4
del lis[2 : 5]
Output โ€“
List elements after
deleting are : 2 1 3 8
Reference
https://javatpoint.com
https://udemy.com
https://www.geeksforgeeks
.org/
Presentation on python

More Related Content

What's hot

What's hot (20)

Introduction to-python
Introduction to-pythonIntroduction to-python
Introduction to-python
ย 
Python ppt
Python pptPython ppt
Python ppt
ย 
Beginning Python Programming
Beginning Python ProgrammingBeginning Python Programming
Beginning Python Programming
ย 
Python final ppt
Python final pptPython final ppt
Python final ppt
ย 
Python-00 | Introduction and installing
Python-00 | Introduction and installingPython-00 | Introduction and installing
Python-00 | Introduction and installing
ย 
Python Programming Language
Python Programming LanguagePython Programming Language
Python Programming Language
ย 
Introduction to the basics of Python programming (part 1)
Introduction to the basics of Python programming (part 1)Introduction to the basics of Python programming (part 1)
Introduction to the basics of Python programming (part 1)
ย 
Python by Rj
Python by RjPython by Rj
Python by Rj
ย 
Python ppt
Python pptPython ppt
Python ppt
ย 
Overview of python 2019
Overview of python 2019Overview of python 2019
Overview of python 2019
ย 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
ย 
Chapter 1 - INTRODUCTION TO PYTHON -MAULIK BORSANIYA
Chapter 1 - INTRODUCTION TO PYTHON -MAULIK BORSANIYAChapter 1 - INTRODUCTION TO PYTHON -MAULIK BORSANIYA
Chapter 1 - INTRODUCTION TO PYTHON -MAULIK BORSANIYA
ย 
programming with python ppt
programming with python pptprogramming with python ppt
programming with python ppt
ย 
Chapter 03 python libraries
Chapter 03 python librariesChapter 03 python libraries
Chapter 03 python libraries
ย 
Python - the basics
Python - the basicsPython - the basics
Python - the basics
ย 
Python libraries
Python librariesPython libraries
Python libraries
ย 
Python programming | Fundamentals of Python programming
Python programming | Fundamentals of Python programming Python programming | Fundamentals of Python programming
Python programming | Fundamentals of Python programming
ย 
Python introduction
Python introductionPython introduction
Python introduction
ย 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
ย 
Variables in python
Variables in pythonVariables in python
Variables in python
ย 

Similar to Presentation on python

Python Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & TechPython Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & Tech
Ramanamurthy Banda
ย 

Similar to Presentation on python (20)

MODULE 1.pptx
MODULE 1.pptxMODULE 1.pptx
MODULE 1.pptx
ย 
Introduction python
Introduction pythonIntroduction python
Introduction python
ย 
Python basic
Python basicPython basic
Python basic
ย 
Introduction to python for Beginners
Introduction to python for Beginners Introduction to python for Beginners
Introduction to python for Beginners
ย 
Python Programming Draft PPT.pptx
Python Programming Draft PPT.pptxPython Programming Draft PPT.pptx
Python Programming Draft PPT.pptx
ย 
Python tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academyPython tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academy
ย 
Python Tutorial | Python Programming Language
Python Tutorial | Python Programming LanguagePython Tutorial | Python Programming Language
Python Tutorial | Python Programming Language
ย 
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
ย 
intro.pptx (1).pdf
intro.pptx (1).pdfintro.pptx (1).pdf
intro.pptx (1).pdf
ย 
Python_Introduction_Good_PPT.pptx
Python_Introduction_Good_PPT.pptxPython_Introduction_Good_PPT.pptx
Python_Introduction_Good_PPT.pptx
ย 
introduction to Python (for beginners)
introduction to Python (for beginners)introduction to Python (for beginners)
introduction to Python (for beginners)
ย 
An Introduction To Python - Python, Print()
An Introduction To Python - Python, Print()An Introduction To Python - Python, Print()
An Introduction To Python - Python, Print()
ย 
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 PPT Session 1.pptx
python PPT Session 1.pptxpython PPT Session 1.pptx
python PPT Session 1.pptx
ย 
Python programming language introduction unit
Python programming language introduction unitPython programming language introduction unit
Python programming language introduction unit
ย 
Python Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & TechPython Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & Tech
ย 
Research paper on python by Rj
Research paper on python by RjResearch paper on python by Rj
Research paper on python by Rj
ย 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
ย 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
ย 
Python Online From EasyLearning Guru
Python Online From EasyLearning GuruPython Online From EasyLearning Guru
Python Online From EasyLearning Guru
ย 

Recently uploaded

Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
ย 
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
ย 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
ย 

Recently uploaded (20)

Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
ย 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
ย 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
ย 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
ย 
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
ย 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
ย 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
ย 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
ย 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
ย 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
ย 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
ย 
Top Rated Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
ย 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
ย 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
ย 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
ย 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
ย 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
ย 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
ย 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
ย 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
ย 

Presentation on python

  • 1. โ€œMy favorite language for maintainability is Python. It has simple, clean syntax, object encapsulation, good library support, and optional named parameters .โ€ - Bram Cohen Submitted By :- William john Course :- B.E.Computer science (7thsem ) Date :- 20/09/19
  • 3. What is Python ..? : - Python is a general purpose, high level, and interpreted programming language. It supports Object Oriented programming approach to develop applications. It is simple and easy to learn and provides lots of high-level data structures. : - Python is easy to learn yet powerful and versatile scripting language, which makes it attractive for Application Development.. Example : Python program to add two numbers : Input- num1 = 5 num2 = 3 sum = num1 + num2 Print(โ€œsum of {0} and {1} is {2}โ€ .format(num1, num2, sum)) Output- sum of 5 and 3 is 8
  • 4. โ€œPython laid its foundation in the late 1980s.โ€ โ€œThe implementation of Python was started in the December 1989 by Guido Van Rossum at CWI in Netherlandโ€ Python 2.0 added new features like: list comprehensions, garbage collection system. โ€œIn February 1991, van Rossum published the code (labeled version 0.9.0) to alt.sources.โ€ In 1994, Python 1.0 was released with new features like: lambda, map, filter, and reduce. History of Python
  • 5. History of Python On December 3, 2008, Python 3.0 (also called "Py3K") was released. It was designed to rectify fundamental flaw of the language. ABC programming language is said to be the predecessor of Python language which was capable of Exception Handling and interfacing with Amoeba Operating System. Python is influenced by following programming Languages : ABC language Modula-3
  • 6.
  • 7. โ€œPython is an interpreted language i.e. interpreter executes the code line by line at a time. This makes debugging easy and thus suitable for beginners.โ€ โ€œPython language is more expressive means that it is more understandable and readable.โ€ โ€œPython is easy to learn and use. It is developer-friendly and high level programming language.โ€ Features of Python Easy Expressive Language Interpreted Language
  • 8. โ€œGraphical user interfaces can be developed using Python..โ€ โ€œPython has a large and broad library and prvides rich set of module and functions for rapid application development..โ€ โ€œIt implies that other languages such as C/C++ can be used to compile the code and thus it can be used further in our python code.โ€ Features of Python Extensible Large Standard Library GUI Programming Support
  • 9. โ€œPython supports object oriented language and concepts of classes and objects come into existence..โ€ โ€œPython language is freely available at offical web address.The source-code is also available. Therefore it is open source.โ€ โ€œPython can run equally on different platforms such as Windows, Linux, Unix and Macintosh etc. So, we can say that Python is a portable language.โ€ Features of Python Cross-platform Language Free and Open Source Object-Oriented Language
  • 10. โ€œThat means the type (for example- int, double, long etc) for a variable is decided at run time not in advance.because of this feature we donโ€™t need to specify the type of variable..โ€ โ€œWhen we write programs in python, we do not need to remember the system architecture, nor do we need to manage the memory..โ€ โ€œIt can be easily integrated with languages like C, C++, JAVA etc.โ€ Features of Python Integrated High-Level Language Dynamically Typed Language
  • 13. Round Example : Input โ€“ x = round(5.76543, 2) print(x) Output โ€“ 5.77 Sort Example : Input โ€“ #List of integers Numbers = [1,3,4,2] #Sorting list of integers Numbers .Sort() print(Numbers) Output โ€“ [1,2,3,4] Split Example : Input โ€“ text = 'geeks for geeksโ€™ # Splits at space print(text.split()) Output โ€“ ['geeks', 'for', 'geeks'] Reverse Example : Input โ€“ #a list of numbers list1 = [1, 2, 3, 4, 1, 2,6] list1.reverse() print(list1) Output โ€“ [6, 2, 1, 4, 3, 2, 1]
  • 14. Slicing Example : Input โ€“ #list1[start : end : step] list1 = [1,2,3,4,5,6,7,8] print(โ€œlist: โ€œlist1) print(โ€œAfter Slicingโ€) print(list1[1:4:1] Output โ€“ List : [1,2,3,4,5,6,7,8] After Slicing [2,3,4] Index Example : Input โ€“ #list index() method list1 = [1, 2, 3, 4, 1, 1, 1, 4, 5] # Will print the index of '4' in list1 print(list1.index(4)) Output โ€“ 3 Range Example : Input โ€“ #printing a number for i in range(10): print(i, end =" ") print() Output โ€“ 0 1 2 3 4 5 6 7 8 9 Delete Example : Input โ€“ list = [2, 1, 3, 5, 4, 3, 8] # deletes 3,5,4 del lis[2 : 5] Output โ€“ List elements after deleting are : 2 1 3 8