Boston Python Workshop 3/Friday/Tutorial: Difference between revisions

imported>Jesstess
imported>Jesstess
Line 233:
my_string = "Alpha " + "Beta " + "Gamma " + "Delta"
print my_string
</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>
 
Anonymous user