1.raw_input2.data visualize
website: http://www.pythontutor.com/
3.cubic root
x = int(input('Enter an integer: '))
ans = 0
while ans**3 < x:
ans = ans + 1
#这里输出的ans是经过判断之后,比如x=8,则ans=2.
if ans**3 != x:
print(str(x) + ' is not a perfect cube')
else:
print('Cube root of ' + str(x) + ' is ' + str(ans))
27