SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
“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
Presentation on python
“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 (20)

PPT
Python ppt
Mohita Pandey
 
PPTX
Python and its Applications
Abhijeet Singh
 
PDF
Python final ppt
Ripal Ranpara
 
PPT
Introduction to Python
Nowell Strite
 
PPT
Python Programming Language
Dr.YNM
 
PPTX
Beginning Python Programming
St. Petersburg College
 
PPTX
Introduction to-python
Aakashdata
 
PPTX
Python PPT
Edureka!
 
PPT
Introduction to python
Syed Zaid Irshad
 
PPTX
C++ Overview PPT
Thooyavan Venkatachalam
 
PPTX
Functions in python
colorsof
 
PDF
Introduction To Python
Vanessa Rene
 
PPTX
Python Functions
Mohammed Sikander
 
PDF
Strings in python
Prabhakaran V M
 
PDF
Python introduction
Jignesh Kariya
 
PPTX
Introduction to the basics of Python programming (part 1)
Pedro Rodrigues
 
PPTX
Chapter 1 - INTRODUCTION TO PYTHON -MAULIK BORSANIYA
Maulik Borsaniya
 
PDF
Python Course | Python Programming | Python Tutorial | Python Training | Edureka
Edureka!
 
PPTX
Introduction to python
Ayshwarya Baburam
 
PPT
programming with python ppt
Priyanka Pradhan
 
Python ppt
Mohita Pandey
 
Python and its Applications
Abhijeet Singh
 
Python final ppt
Ripal Ranpara
 
Introduction to Python
Nowell Strite
 
Python Programming Language
Dr.YNM
 
Beginning Python Programming
St. Petersburg College
 
Introduction to-python
Aakashdata
 
Python PPT
Edureka!
 
Introduction to python
Syed Zaid Irshad
 
C++ Overview PPT
Thooyavan Venkatachalam
 
Functions in python
colorsof
 
Introduction To Python
Vanessa Rene
 
Python Functions
Mohammed Sikander
 
Strings in python
Prabhakaran V M
 
Python introduction
Jignesh Kariya
 
Introduction to the basics of Python programming (part 1)
Pedro Rodrigues
 
Chapter 1 - INTRODUCTION TO PYTHON -MAULIK BORSANIYA
Maulik Borsaniya
 
Python Course | Python Programming | Python Tutorial | Python Training | Edureka
Edureka!
 
Introduction to python
Ayshwarya Baburam
 
programming with python ppt
Priyanka Pradhan
 

Similar to Presentation on python (20)

PPTX
Python.pptx
abclara
 
PPTX
pengenalan python apa itu python untuk apa.pptx
aftaf3
 
PPTX
Python Class 1
arijit banerjee
 
PDF
COMPUTER 8 Grade 8 - Intro to Python.pdf
dennislelis29
 
PPTX
Introduction to Python Programming Basics
Dhana malar
 
PDF
Python unit1
charvi parth Lastpatel
 
PPT
Python Programming Unit1_Aditya College of Engg & Tech
Ramanamurthy Banda
 
PDF
introduction of python in data science
bhavesh lande
 
PDF
Introduction to Python
SudhanshiBakre1
 
PPTX
Introduction to Python.pptx
SamyakJain461
 
PDF
Introduction to python
eShikshak
 
PPTX
Introduction to python
Nikhil Kapoor
 
PPT
Python for students step by step guidance
MantoshKumar79
 
PPT
1-ppt-python.ppt
ssusera99a83
 
PPTX
python introduction initial lecture unit1.pptx
ChandraPrakash715640
 
PPTX
PYTHON TUTORIALS.pptx
EzatIlman1
 
PDF
Introduction to Python
MuhammadBakri13
 
DOC
Core Python.doc
Jyoti shukla
 
PPTX
Chapter - 1.pptx
MikialeTesfamariam
 
DOCX
Python Programming and ApplicationsUnit-1.docx
Manohar k
 
Python.pptx
abclara
 
pengenalan python apa itu python untuk apa.pptx
aftaf3
 
Python Class 1
arijit banerjee
 
COMPUTER 8 Grade 8 - Intro to Python.pdf
dennislelis29
 
Introduction to Python Programming Basics
Dhana malar
 
Python Programming Unit1_Aditya College of Engg & Tech
Ramanamurthy Banda
 
introduction of python in data science
bhavesh lande
 
Introduction to Python
SudhanshiBakre1
 
Introduction to Python.pptx
SamyakJain461
 
Introduction to python
eShikshak
 
Introduction to python
Nikhil Kapoor
 
Python for students step by step guidance
MantoshKumar79
 
1-ppt-python.ppt
ssusera99a83
 
python introduction initial lecture unit1.pptx
ChandraPrakash715640
 
PYTHON TUTORIALS.pptx
EzatIlman1
 
Introduction to Python
MuhammadBakri13
 
Core Python.doc
Jyoti shukla
 
Chapter - 1.pptx
MikialeTesfamariam
 
Python Programming and ApplicationsUnit-1.docx
Manohar k
 
Ad

Recently uploaded (20)

PPTX
Biosensors, BioDevices, Biomediccal.pptx
AsimovRiyaz
 
PDF
Digital water marking system project report
Kamal Acharya
 
PPTX
OCS353 DATA SCIENCE FUNDAMENTALS- Unit 1 Introduction to Data Science
A R SIVANESH M.E., (Ph.D)
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PDF
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
PDF
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
PPTX
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
PPTX
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
PPT
New_school_Engineering_presentation_011707.ppt
VinayKumar304579
 
PPTX
Water Resources Engineering (CVE 728)--Slide 4.pptx
mohammedado3
 
PPT
Testing and final inspection of a solar PV system
MuhammadSanni2
 
PPTX
How Industrial Project Management Differs From Construction.pptx
jamespit799
 
PPTX
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
PDF
Data structures notes for unit 2 in computer science.pdf
sshubhamsingh265
 
PDF
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
PDF
AN EMPIRICAL STUDY ON THE USAGE OF SOCIAL MEDIA IN GERMAN B2C-ONLINE STORES
ijait
 
PPTX
Final Major project a b c d e f g h i j k l m
bharathpsnab
 
PDF
MODULE-5 notes [BCG402-CG&V] PART-B.pdf
Alvas Institute of Engineering and technology, Moodabidri
 
PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PDF
WD2(I)-RFQ-GW-1415_ Shifting and Filling of Sand in the Pond at the WD5 Area_...
ShahadathHossain23
 
Biosensors, BioDevices, Biomediccal.pptx
AsimovRiyaz
 
Digital water marking system project report
Kamal Acharya
 
OCS353 DATA SCIENCE FUNDAMENTALS- Unit 1 Introduction to Data Science
A R SIVANESH M.E., (Ph.D)
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
New_school_Engineering_presentation_011707.ppt
VinayKumar304579
 
Water Resources Engineering (CVE 728)--Slide 4.pptx
mohammedado3
 
Testing and final inspection of a solar PV system
MuhammadSanni2
 
How Industrial Project Management Differs From Construction.pptx
jamespit799
 
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
Data structures notes for unit 2 in computer science.pdf
sshubhamsingh265
 
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
AN EMPIRICAL STUDY ON THE USAGE OF SOCIAL MEDIA IN GERMAN B2C-ONLINE STORES
ijait
 
Final Major project a b c d e f g h i j k l m
bharathpsnab
 
MODULE-5 notes [BCG402-CG&V] PART-B.pdf
Alvas Institute of Engineering and technology, Moodabidri
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
WD2(I)-RFQ-GW-1415_ Shifting and Filling of Sand in the Pond at the WD5 Area_...
ShahadathHossain23
 
Ad

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
  • 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