SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

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

La actualidad más candente (20)

Python basics
Python basicsPython basics
Python basics
 
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
 
Basic Python Programming: Part 01 and Part 02
Basic Python Programming: Part 01 and Part 02Basic Python Programming: Part 01 and Part 02
Basic Python Programming: Part 01 and Part 02
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Overview of python 2019
Overview of python 2019Overview of python 2019
Overview of python 2019
 
Presentation on python
Presentation on pythonPresentation on python
Presentation on python
 
Python in 30 minutes!
Python in 30 minutes!Python in 30 minutes!
Python in 30 minutes!
 
Introduction of python
Introduction of pythonIntroduction of python
Introduction of python
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Python Course | Python Programming | Python Tutorial | Python Training | Edureka
Python Course | Python Programming | Python Tutorial | Python Training | EdurekaPython Course | Python Programming | Python Tutorial | Python Training | Edureka
Python Course | Python Programming | Python Tutorial | Python Training | Edureka
 
Introduction to Basics of Python
Introduction to Basics of PythonIntroduction to Basics of Python
Introduction to Basics of Python
 
Full Python in 20 slides
Full Python in 20 slidesFull Python in 20 slides
Full Python in 20 slides
 
Programming with Python
Programming with PythonProgramming with Python
Programming with Python
 
Python Tutorial Part 1
Python Tutorial Part 1Python Tutorial Part 1
Python Tutorial Part 1
 
Python Tutorial | Python Tutorial for Beginners | Python Training | Edureka
Python Tutorial | Python Tutorial for Beginners | Python Training | EdurekaPython Tutorial | Python Tutorial for Beginners | Python Training | Edureka
Python Tutorial | Python Tutorial for Beginners | Python Training | Edureka
 
Python final ppt
Python final pptPython final ppt
Python final ppt
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
 
Python Projects For Beginners | Python Projects Examples | Python Tutorial | ...
Python Projects For Beginners | Python Projects Examples | Python Tutorial | ...Python Projects For Beginners | Python Projects Examples | Python Tutorial | ...
Python Projects For Beginners | Python Projects Examples | Python Tutorial | ...
 
Python by Rj
Python by RjPython by Rj
Python by Rj
 
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)
 

Similar a 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 a 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
 

Último

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
 

Último (20)

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
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
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
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
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
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
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 

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”)