Jump to content

Boston Python workshop 2/Friday tutorial: Difference between revisions

Line 170:
==Strings==
 
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:
 
<pre>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.