Thursday, May 6, 2021

Data type

 Build-in data types 

Text type : str

Numeric types : int ,float, complex

Sequence type : list, tuple, range

Mapping type : dictionary 

Set type : set ,frozenset

Boolean type : bool

Binary type : bytes , bytearray , memoryview


Most commonly used :

  1. Numbers
  2. String
  3. List
  4. Tuple
  5. Dictionary 


No comments:

Post a Comment

String

  String (data type) :  》 Strings are arrays of bytes representing Unicode characters. 》A string is a collection of one or more characters p...