Blog Introductions

In this  blog contains tutorials about  HTML Tutorials, Python Tutorials, CSS Tutorials, How to, PHP Tutorials, Java Tutorials, C++ Tutorials, Tutorials,  Examples, Source code,Learning,
Tips and Software development  services. Python Data types and Variable Types  |  Python tutorials Bestitworriors


Python Data types and Variable Types

Python tutorials







Python Data types and Variable Types  |  Python tutorials Bestitworriors - Python data types refer to type of variables.Data types means which type of data store in variable either its a text or a number or boolean or a fload number etc.Python support text type(string) and numaric type(int , float ,complex) and sequence type (list , tuple , range) and maping type (dist) and set type (set , frozenset ) and boolean type (bool ) and binary types ( bytes , bytearray , memory view ) and none type (NoneType).






Some Key Points of Python Data Types



  1. Python varible data type is known as data type
  2. Python support Text Type (string)
  3. Python support Numaric Type (int , float , complex)
  4. Python support Sequence Type (list , tuple , range)
  5. Python support Maping Type (dist)
  6. Python support Set Type (set , frozenset )
  7. Python support Boolean Type (bool)
  8. Python support Binary Type (bytes , bytearray ,memory view)
  9. Python support None Type (None Type)
  10. You can get the type of variable by using type(variablename) function

Code



var1 = 5
print(type(var1))

var2 ="Best It Worrior"
print(type(var2))

var3 = 10.3
print(type(var3))

var4 =[1,2,3,4,5,6,7,8,9]
print(type(var4))







OutPut




int
str
float
list



I hope You really enjoyed this blog . I try my best to make every thing is easy and helpfull to provide to public .You will get more blog about the Programing project and code . Thanks for visiting my blog if you have any querry related to this you can comment here i will try my best to response you back about Python Data types and Variable Types  |  Python tutorials Bestitworriors