SlideShare a Scribd company logo
1 of 8
PYTHON
CREATED BY
RADHIKA ADROJA
What Is Python ?
 Python is a popular programming Language. python is
dynamic,high-level ,interpreated programming language .
 It was created by Guido Van Rossum and released in 1991.
 It is simple and easy to learn and provides lost of high-level data
structures.
 It is used for :
1) web development (server-side),
2)software development,
3)mathematics,
4)system scripting.
Why Python?
 Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc).
 Python has a simple syntax similar to the English language.
 Python allows a developer to write programs with fewer lines than some other
programming languages.
 Python runs on an interpreter system, means that the code can be executed as
soon as it is written. It helps to provide a prototype very quickly.
 Python can be treated in a procedural way, an object-oriented way or a functional
way.
Application Of python
Python is used in various software domains some application areas are given below:
 Web and Internet Development
 Games
 Scientific and computational applications
 Language development
 Image processing and graphic design applications
 Enterprise and business applications development
 Operating systems
 GUI based desktop applications
Advantages of Python
 Interpreted: Python is an interpreted language. It does not require prior
compilation of code and executes instructions directly.
 Free and open source: It is an open source project which is publicly available to
reuse. It can be downloaded free of cost.
 Portable: Python programs can run on cross platforms without affecting its
performance.
 Extensible: It is very flexible and extensible with any module.
 Object-oriented: Python allows to implement the Object Oriented concepts to
build application solution.
 Built-in data structure: Tuple, List, and Dictionary are useful integrated data
structures provided by the language.
Different Between Python 2 and Python 3
Python 2
 Released in 2000
 Function print: print “hello”
 User input: raw_input() function use.
 implicit string type is ASCII
 Xrange() function is used for iterations.
 Ex.
print “hello world”
Python 3
 Released in 2003
 Function print: print(“hello”)
 User input: input() function use.
 Implicit string type is Unicode.
 Range() function is used for
iterations.
 Ex.
Print(“hello world”)
Python comments
 Comments can be used to explain Python code.
 Comments can be used to make the code more readable.
 Comments can be used to prevent execution when testing code.
 Comments start with # .
 Ex.
#this is example
Print(“hello world”)
Python basic

More Related Content

What's hot

Full Python in 20 slides
Full Python in 20 slidesFull Python in 20 slides
Full Python in 20 slides
rfojdar
 

What's hot (20)

Python Intro
Python IntroPython Intro
Python Intro
 
Intro to Python for Non-Programmers
Intro to Python for Non-ProgrammersIntro to Python for Non-Programmers
Intro to Python for Non-Programmers
 
Phython Programming Language
Phython Programming LanguagePhython Programming Language
Phython Programming Language
 
Python Programming ppt
Python Programming pptPython Programming ppt
Python Programming ppt
 
Python Tutorial Part 1
Python Tutorial Part 1Python Tutorial Part 1
Python Tutorial Part 1
 
Full Python in 20 slides
Full Python in 20 slidesFull Python in 20 slides
Full Python in 20 slides
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Python - the basics
Python - the basicsPython - the basics
Python - the basics
 
Python basic
Python basicPython basic
Python basic
 
Python
PythonPython
Python
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Python ppt
Python pptPython ppt
Python ppt
 
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
 
Basics of python
Basics of pythonBasics of python
Basics of python
 
Introduction to python programming, Why Python?, Applications of Python
Introduction to python programming, Why Python?, Applications of PythonIntroduction to python programming, Why Python?, Applications of Python
Introduction to python programming, Why Python?, Applications of Python
 
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 Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
 
Python Crash Course
Python Crash CoursePython Crash Course
Python Crash Course
 
Introduction to python
 Introduction to python Introduction to python
Introduction to python
 
Python second ppt
Python second pptPython second ppt
Python second ppt
 

Similar to Python basic

session5-Getting stated with Python.pdf
session5-Getting stated with Python.pdfsession5-Getting stated with Python.pdf
session5-Getting stated with Python.pdf
AyushDutta32
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1
Kanchilug
 

Similar to Python basic (20)

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
 
INTRODUCTION-TO-PYTHON
INTRODUCTION-TO-PYTHONINTRODUCTION-TO-PYTHON
INTRODUCTION-TO-PYTHON
 
Python Programming Draft PPT.pptx
Python Programming Draft PPT.pptxPython Programming Draft PPT.pptx
Python Programming Draft PPT.pptx
 
session5-Getting stated with Python.pdf
session5-Getting stated with Python.pdfsession5-Getting stated with Python.pdf
session5-Getting stated with Python.pdf
 
PYTHON TUTORIALS.pptx
PYTHON TUTORIALS.pptxPYTHON TUTORIALS.pptx
PYTHON TUTORIALS.pptx
 
Introduction to python for Beginners
Introduction to python for Beginners Introduction to python for Beginners
Introduction to python for Beginners
 
Chapter - 1.pptx
Chapter - 1.pptxChapter - 1.pptx
Chapter - 1.pptx
 
introduction to Python (for beginners)
introduction to Python (for beginners)introduction to Python (for beginners)
introduction to Python (for beginners)
 
Introduction python
Introduction pythonIntroduction python
Introduction python
 
637b4894085c4_ppt.pptx
637b4894085c4_ppt.pptx637b4894085c4_ppt.pptx
637b4894085c4_ppt.pptx
 
Interactive Python PPT with animations
Interactive Python PPT with animationsInteractive Python PPT with animations
Interactive Python PPT with animations
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1
 
Research paper on python by Rj
Research paper on python by RjResearch paper on python by Rj
Research paper on python by Rj
 
Python Tutorial | Python Programming Language
Python Tutorial | Python Programming LanguagePython Tutorial | Python Programming Language
Python Tutorial | Python Programming Language
 
Python for Beginners.docx
Python for Beginners.docxPython for Beginners.docx
Python for Beginners.docx
 
introduction of python in data science
introduction of python in data scienceintroduction of python in data science
introduction of python in data science
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
 
intro.pptx (1).pdf
intro.pptx (1).pdfintro.pptx (1).pdf
intro.pptx (1).pdf
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
Introduction of python programming
Introduction of python programmingIntroduction of python programming
Introduction of python programming
 

Recently uploaded

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 

Python basic

  • 2. What Is Python ?  Python is a popular programming Language. python is dynamic,high-level ,interpreated programming language .  It was created by Guido Van Rossum and released in 1991.  It is simple and easy to learn and provides lost of high-level data structures.  It is used for : 1) web development (server-side), 2)software development, 3)mathematics, 4)system scripting.
  • 3. Why Python?  Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc).  Python has a simple syntax similar to the English language.  Python allows a developer to write programs with fewer lines than some other programming languages.  Python runs on an interpreter system, means that the code can be executed as soon as it is written. It helps to provide a prototype very quickly.  Python can be treated in a procedural way, an object-oriented way or a functional way.
  • 4. Application Of python Python is used in various software domains some application areas are given below:  Web and Internet Development  Games  Scientific and computational applications  Language development  Image processing and graphic design applications  Enterprise and business applications development  Operating systems  GUI based desktop applications
  • 5. Advantages of Python  Interpreted: Python is an interpreted language. It does not require prior compilation of code and executes instructions directly.  Free and open source: It is an open source project which is publicly available to reuse. It can be downloaded free of cost.  Portable: Python programs can run on cross platforms without affecting its performance.  Extensible: It is very flexible and extensible with any module.  Object-oriented: Python allows to implement the Object Oriented concepts to build application solution.  Built-in data structure: Tuple, List, and Dictionary are useful integrated data structures provided by the language.
  • 6. Different Between Python 2 and Python 3 Python 2  Released in 2000  Function print: print “hello”  User input: raw_input() function use.  implicit string type is ASCII  Xrange() function is used for iterations.  Ex. print “hello world” Python 3  Released in 2003  Function print: print(“hello”)  User input: input() function use.  Implicit string type is Unicode.  Range() function is used for iterations.  Ex. Print(“hello world”)
  • 7. Python comments  Comments can be used to explain Python code.  Comments can be used to make the code more readable.  Comments can be used to prevent execution when testing code.  Comments start with # .  Ex. #this is example Print(“hello world”)