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

PPTX
PYTHON PPT.pptx
PPTX
Python Seminar PPT
PPT
Python Programming ppt
PPTX
Introduction to-python
PPT
Python ppt
PPTX
Shortest path algorithm
PPTX
Introduction to python for Beginners
PPTX
Python basics
PYTHON PPT.pptx
Python Seminar PPT
Python Programming ppt
Introduction to-python
Python ppt
Shortest path algorithm
Introduction to python for Beginners
Python basics

What's hot (20)

ODP
Python Presentation
PPTX
Python - An Introduction
PPTX
Looping statement in python
PPTX
Python
PDF
Python basic
PPTX
Basic Python Programming: Part 01 and Part 02
PDF
Datatypes in python
PPTX
Basic programming concepts
PPTX
C language ppt
PDF
Python final ppt
PPTX
Python presentation by Monu Sharma
PPTX
Introduction python
PDF
Introduction to python programming
PPTX
Benefits & features of python |Advantages & disadvantages of python
PPTX
Fundamentals of Python Programming
PPT
Introduction to Python
PPTX
Chapter 1 - INTRODUCTION TO PYTHON -MAULIK BORSANIYA
PPT
Intro to Python
PPTX
introduction to programming languages
PPTX
Phython Programming Language
Python Presentation
Python - An Introduction
Looping statement in python
Python
Python basic
Basic Python Programming: Part 01 and Part 02
Datatypes in python
Basic programming concepts
C language ppt
Python final ppt
Python presentation by Monu Sharma
Introduction python
Introduction to python programming
Benefits & features of python |Advantages & disadvantages of python
Fundamentals of Python Programming
Introduction to Python
Chapter 1 - INTRODUCTION TO PYTHON -MAULIK BORSANIYA
Intro to Python
introduction to programming languages
Phython Programming Language
Ad

Similar to Presentation on python (20)

PPTX
python programminig and introduction.pptx
PPTX
Introduction-to-Python-Programming1.pptx
PPTX
introduction to python in computer graphics.pptx
PPTX
MODULE 1.pptx
PPTX
introduction to python in detail including .pptx
PPTX
Python basic
PPTX
Python Programming Draft PPT.pptx
PPTX
Python tutorial for beginners - Tib academy
PPTX
Python Tutorial | Python Programming Language
PPTX
Python | What is Python | History of Python | Python Tutorial
PDF
intro.pptx (1).pdf
PPTX
Python_Introduction_Good_PPT.pptx
PPTX
python programming unit 1 wala ppt .pptx
PPTX
introduction to Python (for beginners)
PPTX
Python Basics for first semester Students and everyone
PPTX
An Introduction To Python - Python, Print()
PPTX
Why Python in required in Civil Engineering
PPTX
python PPT Session 1.pptx
PPTX
Python programming language introduction unit
PPT
Python Programming Unit1_Aditya College of Engg & Tech
python programminig and introduction.pptx
Introduction-to-Python-Programming1.pptx
introduction to python in computer graphics.pptx
MODULE 1.pptx
introduction to python in detail including .pptx
Python basic
Python Programming Draft PPT.pptx
Python tutorial for beginners - Tib academy
Python Tutorial | Python Programming Language
Python | What is Python | History of Python | Python Tutorial
intro.pptx (1).pdf
Python_Introduction_Good_PPT.pptx
python programming unit 1 wala ppt .pptx
introduction to Python (for beginners)
Python Basics for first semester Students and everyone
An Introduction To Python - Python, Print()
Why Python in required in Civil Engineering
python PPT Session 1.pptx
Python programming language introduction unit
Python Programming Unit1_Aditya College of Engg & Tech
Ad

Recently uploaded (20)

PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Sustainable Sites - Green Building Construction
DOCX
573137875-Attendance-Management-System-original
PPTX
UNIT 4 Total Quality Management .pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
Welding lecture in detail for understanding
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPT
Mechanical Engineering MATERIALS Selection
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Sustainable Sites - Green Building Construction
573137875-Attendance-Management-System-original
UNIT 4 Total Quality Management .pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Foundation to blockchain - A guide to Blockchain Tech
Welding lecture in detail for understanding
Lesson 3_Tessellation.pptx finite Mathematics
UNIT-1 - COAL BASED THERMAL POWER PLANTS
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
bas. eng. economics group 4 presentation 1.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Mechanical Engineering MATERIALS Selection
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx

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