[Tutor] weird bool

2009-02-03 Thread prasad rao
hi a=2.1 a%1==True False a%1==False False b=3.8 b%1==True False b%1==False False If it gives correct bool, it could be put to good use. Prasad ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] weird bool

2009-02-03 Thread Andre Engels
On Tue, Feb 3, 2009 at 11:40 AM, prasad rao prasadarao...@gmail.com wrote: hi a=2.1 a%1==True False a%1==False False b=3.8 b%1==True False b%1==False False If it gives correct bool, it could be put to good use. == gives a high degree of equality. In your idea, it would not be a kind