SlideShare a Scribd company logo
 Python is high level general purpose programming
language
 Python is considered as one of the most popular
programming language
 Python is commonly used for developing
o Web application
o Desktop Application
o Data analysis
o AI & ML
 It is developed by Guido Van Rossum
 It is developed in 1991
 It is crated at Center For Mathematics and Research in
Netherland
 It is inspired by another programming language called
ABC
 The name Python is inspired from Guido’s favorite
Comedy TV show called “Monty Python’s Flying Circus”
 Guido wanted a name that was short, unique, and
slightly so he decided to call the language Python.
 There are many examples of popular and high-load
websites have been developed using Python.
 Here are some of the most popular of them
 NASA
 Instagram
 Udemy
 Spotify
 Mozilla
 Simple and easy to learn
 Dynamically Typed language
 Object oriented programming language
 High level language
 Interpreted based language
 Free and open source
 GUI based programming language
 Huge Library
 Python is very easy to learn as compared to other
programming language
 It syntax is straightforward and the same as the English
language
 There are no semicolon and curly-bracket
 The indentation defines the code block
 Python code is comparatively 3 to 5 times smaller than
C/C++/Java code
 In c language
#include
int main()
{
printf("Hello World");
return0;
}
In java
public class HelloWorld{
public static void main(String[] args )
{
System.out.println( "Hello World ");
}
}
IN PYTHON
print('Hello world !')
 In Python, we don't need to specify the data-type of
the variable. When we assign some value to the
variable, it automatically allocates the memory to the
variable at run time. Suppose we are assigned integer
value 10 to x, then we don't need to write int x =
10 Just write x = 10
Static type ( c c++ java) Dynamic type python
1. Need to declare variable type before
using it
1. Do not need to declare variable type
2. Can not change variable type at run
time
2. Can change variable type at runtime
3. Variable can hold only one type of
value for lifetime
3. Variable can hold different type of
value for lifetime
Local variable Global variable
The variables that are declared
inside a function are called local
variables. These types of variables
can be accessed only inside the
function.
The variables that are declared
outside the function are called
global variables. These variables can
be accessed or invoked by any
function in the program.
def f():
s = “Hello World"
print("Inside Function:",
s)
f()
print(s)
def f():
print("Inside Function", s)
s = “Hello world"
f()
print("Outside Function", s)

More Related Content

PPTX
PYTHON FEATURES.pptx
PDF
PPTX
Python final presentation kirti ppt1
DOC
Core Python.doc
PPTX
Python Programming
PPT
1-ppt-python.ppt
PPTX
Python Programming-1.pptx of python by computer
DOCX
Python Programming and ApplicationsUnit-1.docx
PYTHON FEATURES.pptx
Python final presentation kirti ppt1
Core Python.doc
Python Programming
1-ppt-python.ppt
Python Programming-1.pptx of python by computer
Python Programming and ApplicationsUnit-1.docx

Similar to Python Tutorials.pptx (20)

PDF
Learning python in a cool and fun way-Module-1.1.pdf
PPT
Python for students step by step guidance
PPTX
Lecture on Fundamentals of Python Programming-1
PPTX
Python_Introduction_Good_PPT.pptx
PDF
Features of Python.pdf
PPTX
Python Way of Program is a topic for beginners
PPTX
Python Way of Program is a topic for beginners
PDF
Introduction to Python
PPTX
Python basics
PPTX
4_Introduction to Python Programming.pptx
PPTX
Session-1_Introduction to Python.pptx
PPTX
UNIT 1 PYTHON introduction and basic level
PDF
WEB PROGRAMMING UNIT VIII BY BHAVSINGH MALOTH
PDF
Fundamentals of python
PPTX
python programminig and introduction.pptx
PPT
Introduction to python
PDF
introduction of python in data science
KEY
Programming with Python: Week 1
PDF
Python programming
PPTX
Python Tutorial | Python Programming Language
Learning python in a cool and fun way-Module-1.1.pdf
Python for students step by step guidance
Lecture on Fundamentals of Python Programming-1
Python_Introduction_Good_PPT.pptx
Features of Python.pdf
Python Way of Program is a topic for beginners
Python Way of Program is a topic for beginners
Introduction to Python
Python basics
4_Introduction to Python Programming.pptx
Session-1_Introduction to Python.pptx
UNIT 1 PYTHON introduction and basic level
WEB PROGRAMMING UNIT VIII BY BHAVSINGH MALOTH
Fundamentals of python
python programminig and introduction.pptx
Introduction to python
introduction of python in data science
Programming with Python: Week 1
Python programming
Python Tutorial | Python Programming Language
Ad

Recently uploaded (20)

PDF
IGGE1 Understanding the Self1234567891011
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
1_English_Language_Set_2.pdf probationary
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
PPTX
UNIT III MENTAL HEALTH NURSING ASSESSMENT
PDF
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
Trump Administration's workforce development strategy
PPTX
Digestion and Absorption of Carbohydrates, Proteina and Fats
PDF
What if we spent less time fighting change, and more time building what’s rig...
IGGE1 Understanding the Self1234567891011
Supply Chain Operations Speaking Notes -ICLT Program
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Weekly quiz Compilation Jan -July 25.pdf
1_English_Language_Set_2.pdf probationary
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
UNIT III MENTAL HEALTH NURSING ASSESSMENT
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
Paper A Mock Exam 9_ Attempt review.pdf.
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Chinmaya Tiranga quiz Grand Finale.pdf
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
LDMMIA Reiki Yoga Finals Review Spring Summer
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Trump Administration's workforce development strategy
Digestion and Absorption of Carbohydrates, Proteina and Fats
What if we spent less time fighting change, and more time building what’s rig...
Ad

Python Tutorials.pptx

  • 1.  Python is high level general purpose programming language  Python is considered as one of the most popular programming language  Python is commonly used for developing o Web application o Desktop Application o Data analysis o AI & ML
  • 2.  It is developed by Guido Van Rossum  It is developed in 1991  It is crated at Center For Mathematics and Research in Netherland  It is inspired by another programming language called ABC
  • 3.  The name Python is inspired from Guido’s favorite Comedy TV show called “Monty Python’s Flying Circus”  Guido wanted a name that was short, unique, and slightly so he decided to call the language Python.
  • 4.  There are many examples of popular and high-load websites have been developed using Python.  Here are some of the most popular of them  NASA  Instagram  Udemy  Spotify  Mozilla
  • 5.  Simple and easy to learn  Dynamically Typed language  Object oriented programming language  High level language  Interpreted based language  Free and open source  GUI based programming language  Huge Library
  • 6.  Python is very easy to learn as compared to other programming language  It syntax is straightforward and the same as the English language  There are no semicolon and curly-bracket  The indentation defines the code block  Python code is comparatively 3 to 5 times smaller than C/C++/Java code
  • 7.  In c language #include int main() { printf("Hello World"); return0; } In java public class HelloWorld{ public static void main(String[] args ) { System.out.println( "Hello World "); } } IN PYTHON print('Hello world !')
  • 8.  In Python, we don't need to specify the data-type of the variable. When we assign some value to the variable, it automatically allocates the memory to the variable at run time. Suppose we are assigned integer value 10 to x, then we don't need to write int x = 10 Just write x = 10
  • 9. Static type ( c c++ java) Dynamic type python 1. Need to declare variable type before using it 1. Do not need to declare variable type 2. Can not change variable type at run time 2. Can change variable type at runtime 3. Variable can hold only one type of value for lifetime 3. Variable can hold different type of value for lifetime
  • 10. Local variable Global variable The variables that are declared inside a function are called local variables. These types of variables can be accessed only inside the function. The variables that are declared outside the function are called global variables. These variables can be accessed or invoked by any function in the program. def f(): s = “Hello World" print("Inside Function:", s) f() print(s) def f(): print("Inside Function", s) s = “Hello world" f() print("Outside Function", s)