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  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to