Anonymous user
Montreal Python Workshop/Data types: Difference between revisions
Montreal Python Workshop/Data types (view source)
Revision as of 02:15, 20 February 2013
, 11 years ago→Types
imported>Merwok (→Types) |
imported>Merwok (→Types) |
||
(One intermediate revision by the same user not shown) | |||
Line 43:
* Strings are bits of text, and contain characters like numbers, letters, whitespace, and punctuation.
* String are surrounded by quotes (a pair of ' or a pair of ").
* Use triple-quotes (""") to create whitespace-preserving multi-line strings.
<pre>
>>>
'Hello'
</pre>
Line 328:
[[Montreal Python Workshop
|