Please send questions to st10@humboldt.edu .

Random in-class projections, Class 2, 9-28-06

*   what does Python consider to be true and false?

    *   There IS a bool type (True, False) --- but,

    *   nonzero number -> True
        zero number -> False

    *   any nonempty data structure -> True 
        empty data structure -> False

    *   special Python object None -> False

*   == for equivalence comparison
    is for seeing if two names reference the same object

    a == b
    a is b