Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • As David is implying, pow(n, 1/3) will give you the cubic (i.e. 3rd) root of n. Commented Dec 10, 2008 at 13:59
  • 5
    No it won't, since 1/3 == 0 in python < 3. Commented Dec 10, 2008 at 14:05
  • (But it won't be what the OP wanted, either). Commented Dec 10, 2008 at 14:06
  • Py3 doesn't have integer limitations... they can grow forever until memory runs out. I tested on my installation. That's a solution. Commented Nov 9, 2015 at 4:08