comparison on list yields surprising result

Dr. Phillip M. Feldman pfeldman at verizon.net
Fri Aug 28 15:47:13 EDT 2009


It looks as though what I should have done is the following:

In [23]: array(x) > 6
Out[23]: array([False, False, False, False], dtype=bool)
-- 
View this message in context: http://www.nabble.com/comparison-on-list-yields-surprising-result-tp25195170p25195893.html
Sent from the Python - python-list mailing list archive at Nabble.com.




More information about the Python-list mailing list