Anonymous user
Boston Python Workshop 3/Friday/Tutorial: Difference between revisions
Boston Python Workshop 3/Friday/Tutorial (view source)
Revision as of 00:26, 12 June 2011
, 13 years ago→Strings
imported>Jesstess No edit summary |
imported>Jesstess |
||
Line 179:
==Strings==
[[File:Letter.png|100px]]
So far we've seen two data types: <b>integers</b> and <b>floats</b>. Another useful data type is a <b>string</b>, which is just what Python calls a bunch of characters (like numbers, letters, whitespace, and punctuation) put together. Strings are indicated by being surrounded by quotes:
|