[Tutor] iscube function

Robert William Hanks astroultraman at gmail.com
Tue Apr 10 23:24:01 CEST 2007


how is the best way to find out if a number is a perfect cube in python?
  i am working if integer numbers only. i am asking because
 pow(1728, 1.0/3.0) --> 11.999999999999998
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070410/e5c9d26b/attachment.html 


More information about the Tutor mailing list