| Article: |
Noisy Python | |
| Subject: | What is given priority? | |
| Date: | 2003-01-31 15:17:36 | |
| From: | anonymous2 | |
|
Ok, i am completely new to python. Can anyone pls tell what comes first in predence when you have True,false and not !
|
||
Showing messages 1 through 1 of 1.
-
What is given priority?
2003-01-31 15:47:54 Stephen Figgins |
[View]



This can be found in Python's online library reference:
http://www.python.org/doc/current/lib/boolean.html
True and False are values. In 2.2 they are simply integer values. Python 2.3 adds the 'bool type This alters their string representation, but they are still essentially integer values. For more information on the bool type coming in 2.3 see:
http://www.python.org/doc/2.3a1/whatsnew/section-bool.html
Finally, one of the best places to ask these questions is the python-tutor list. You can join this mailing list from it's mailman page at:
http://mail.python.org/mailman/listinfo/tutor
Hope that helps!
-Stephen Figgins