DATA TYPES




DATA TYPES












1. SEQUENCES



•Ordered collection of items, indexed by 

positive integers.

•Combination of mutable and on mutable data 

types.

Types of sequence (data type) 

a.Strings

b. Lists


c.Tuples.


             2. NUMBERS
Numerical values were stored by number 
(data type).It is immutable 
i.e. value cannot be changed
Types:
a) Integer 

b) Float/floating point

c) Complex


               3. None

It is used to signify , absence of 

values or false in situation. 



None means that there is no useful 
information.

Ex:

>>>x=40

>>>y=None

>>>print(x)

40

>>>print(y)

None
Previous Post Next Post