cs_lang:python:things-to-know:native-datatypes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cs_lang:python:things-to-know:native-datatypes [2010/12/12 18:31] – cedric | cs_lang:python:things-to-know:native-datatypes [2011/01/11 14:26] (current) – cedric | ||
---|---|---|---|
Line 11: | Line 11: | ||
====== Booleans ====== | ====== Booleans ====== | ||
<code python> | <code python> | ||
+ | >>> | ||
+ | >>> | ||
+ | True | ||
+ | >>> | ||
+ | False | ||
+ | >>> | ||
>>> | >>> | ||
True | True | ||
Line 31: | Line 37: | ||
</ | </ | ||
+ | <code python> | ||
+ | >>> | ||
+ | >>> | ||
+ | >>> | ||
+ | True | ||
+ | >>> | ||
+ | False | ||
+ | >>> | ||
+ | False | ||
+ | >>> | ||
+ | True | ||
+ | >>> | ||
+ | True | ||
+ | True | ||
+ | </ | ||
====== Numbers ====== | ====== Numbers ====== | ||
Line 135: | Line 156: | ||
File "< | File "< | ||
KeyError: ' | KeyError: ' | ||
- | >>> | + | >>> |
+ | False | ||
+ | >>> | ||
>>> | >>> | ||
{' | {' |
cs_lang/python/things-to-know/native-datatypes.1292175110.txt.gz · Last modified: 2010/12/12 18:31 by cedric