Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check if a number is perfect cube in python

x = int(input())
print(int(round(x ** (1. / 3))) ** 3 == x)
 
PREVIOUS NEXT
Tagged: #check #number #perfect #cube #python
ADD COMMENT
Topic
Name
7+9 =