Introduction of
PYTHON
Presented by
Pavan Kumar Reddy
MITS
__________
MADANAPALLE
MADANAPALLE INSTITUTE OF
TECHNOLOGY & SCIENCE
(UGC-AUTONOMOUS INSTITUTION)
Co-ordinated by
Kavitha mam
What is python…?
Python is a high level programming language,
It is a human readable and understable format.
Who invented by
python…?
GUDIO VAN ROSSUM
In the year of 1991.
FEATURES OF PYTHON
Easy to learn and understand.
Complied and interpreted.
Dynamically typed.
Rich standard library.
Free and open source.
Purely object-oriented.
Platform independent language.
USES OF PYTHON
Web-development.
Game development.
Data science.
Machine learning.
Artificial intelligence.
Robotics.
Mobile applications.
Data types
Data types
Numer
ic
Integer Float
comple
x
Boolea
n
sequence
type
Tuple
List
String
Set
Dictionar
y
Integer
Float
Complex
Type ( ) function is used to check the data type of a variables.
The integer,float,complex are type( ) function to determine a variable’s data type.
Ex:- x=10
Print(type(x)
Ex:- y=10.0
Print(type(y)
Ex:- z=10+3j
Print(type(z)
Boolean :-True and False are the two default values for the Boolean type.
Ex:- print(type(True))
Ex:- print(type(False))
String:- String is a collection characters. We can declare ‘ ‘ or “ “, String is immutable.
Ex:- x=‘pavan’
Print(x)
List:- It is used to stored a collection of items. List is mutable,we can declare [ ].
Ex:- mobiles=[‘iphone’,’realme’,’redmi’,’vivo’,’moto’]
Print(mobiles)
Tuple:- it is a ordered collection of elements. Tuple is immutable.we can declare ( ).
Ex:- x=(10,14.3,’pavan’,’True’)
Set:- It is a unordered collection elements. We can declare { }.
Ex:- x={1,2,3,(‘pavan’,’Suneel’,’srinu’,’viswa’),3+5j}
Dictionary:- It is a collection of key and value pairs.
Ex:- x={3:9,’name’:’pavan’,’mobile’:[9177866502,9177866501]}
We can use comma ( ,) and separated with colam ( : )
Any doubts…

Python presentation python beginingers and datat types

  • 1.
    Introduction of PYTHON Presented by PavanKumar Reddy MITS __________ MADANAPALLE MADANAPALLE INSTITUTE OF TECHNOLOGY & SCIENCE (UGC-AUTONOMOUS INSTITUTION) Co-ordinated by Kavitha mam
  • 2.
    What is python…? Pythonis a high level programming language, It is a human readable and understable format. Who invented by python…? GUDIO VAN ROSSUM In the year of 1991.
  • 3.
    FEATURES OF PYTHON Easyto learn and understand. Complied and interpreted. Dynamically typed. Rich standard library. Free and open source. Purely object-oriented. Platform independent language.
  • 4.
    USES OF PYTHON Web-development. Gamedevelopment. Data science. Machine learning. Artificial intelligence. Robotics. Mobile applications.
  • 5.
    Data types Data types Numer ic IntegerFloat comple x Boolea n sequence type Tuple List String Set Dictionar y
  • 6.
    Integer Float Complex Type ( )function is used to check the data type of a variables. The integer,float,complex are type( ) function to determine a variable’s data type. Ex:- x=10 Print(type(x) Ex:- y=10.0 Print(type(y) Ex:- z=10+3j Print(type(z)
  • 7.
    Boolean :-True andFalse are the two default values for the Boolean type. Ex:- print(type(True)) Ex:- print(type(False)) String:- String is a collection characters. We can declare ‘ ‘ or “ “, String is immutable. Ex:- x=‘pavan’ Print(x) List:- It is used to stored a collection of items. List is mutable,we can declare [ ]. Ex:- mobiles=[‘iphone’,’realme’,’redmi’,’vivo’,’moto’] Print(mobiles) Tuple:- it is a ordered collection of elements. Tuple is immutable.we can declare ( ). Ex:- x=(10,14.3,’pavan’,’True’)
  • 8.
    Set:- It isa unordered collection elements. We can declare { }. Ex:- x={1,2,3,(‘pavan’,’Suneel’,’srinu’,’viswa’),3+5j} Dictionary:- It is a collection of key and value pairs. Ex:- x={3:9,’name’:’pavan’,’mobile’:[9177866502,9177866501]} We can use comma ( ,) and separated with colam ( : )
  • 10.