Anonymous user
Boston Python Workshop 3/Friday/Tutorial: Difference between revisions
Boston Python Workshop 3/Friday/Tutorial (view source)
Revision as of 02:41, 17 June 2011
, 12 years ago→Strings
imported>Jesstess |
imported>Jesstess |
||
Line 210:
"Hello"
"Python, I'm your #1 fan!"
</pre>
Like with the math data types above, we can use the <code>type</code> function to check the type of these strings:
<pre>
type("Hello")
type(1)
type("1")
</pre>
|