Native Datatypes

  • Mark Pilgrim


Let’s cast aside your first Python program for just a minute and talk about datatypes. In Python, every value has a datatype, but you don’t need to declare the datatype of variables. How does that work? Based on each variable’s original assignment, Python figures out what type it is and keeps tracks of that internally.


Curly Bracket Positional Index Float Point Number Recent Call Fraction Object 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Mark Pilgrim 2009

Authors and Affiliations

  • Mark Pilgrim

There are no affiliations available

Personalised recommendations