Trending technologies

#AWS #Azure #Blockchain #IOT #machine learning #Virtual Reality #Analytics #Business Intelligence



There are various data types in Python. Some of the important types are listed below.


  1. List
  2. Tuple
  3. Strings
  4. Set
  5. Dictionary

Numbers : Integers, floating point numbers and complex numbers comes under numbers category.

List : List is a collection which is ordered and mutable. All the items in a list do not need to be of the same type and you can edit the values as per your requirement.



>>> a = [1, 2.2, 'python']

error: Content is protected !!