Anonymous user
Boston Python Workshop 3/Friday/Tutorial: Difference between revisions
Boston Python Workshop 3/Friday/Tutorial (view source)
Revision as of 01:51, 17 June 2011
, 12 years ago→Types
imported>Jesstess |
imported>Jesstess (→Types) |
||
Line 83:
[[File:Geometry.png|150px]]
There's a helpful <b>function</b> (more on what a function is in a second) called <code>type</code> that tells you what kind of thing -- what <b>data type</b> -- Python thinks something is. We can check for ourselves that Python considers '1' and '1.0' to be different data types:
<pre>
|