title: Is cube root integer?
body: <p>This seems to be simple but I cannot find a way to do it. I need to show whether the cube root of an integer is integer or not. I used <code>is_integer()</code> float method in Python 3.4 but that wasn't successful. As</p>
  
  <pre><code>x = (3**3)**(1/3.0) 
  is_integer(x)    
  True
  </code></pre>
  
  <p>but</p>
  
  <pre><code>x = (4**3)**(1/3.0) 
  is_integer(x)    
  False
  </code></pre>
  
  <p>I tried <code>x%1 == 0</code>,<code>x == int(x)</code> and <code>isinstance(x,int)</code> with no success. </p>
  
  <p>I'd appreciate any comment.</p>