Anonymous user
Boston Python Workshop 6/Data types: Difference between revisions
Boston Python Workshop 6/Data types (view source)
Revision as of 14:26, 30 March 2012
, 12 years ago→Printing strings
imported>Jesstess (Created page with "==Numbers: integers and floats== * Integers don't have a decimal place. * Floats have a decimal place. * Math mostly works the way it does on a calculator, and you can use pa...") |
imported>Jesstess |
||
(2 intermediate revisions by the same user not shown) | |||
Line 67:
>>> print "Hello" + "World"
HelloWorld
</pre>▼
>>> print "Hello", "World"▼
Hello World▼
<pre>▼
>>> name = "Jessica"
</pre>
Line 218 ⟶ 220:
>>> her_list[:]
['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h']
▲</pre>
▲<pre>
</pre>
|