题解 | #求解立方根#
求解立方根
http://www.nowcoder.com/practice/caf35ae421194a1090c22fe223357dca
哥!太帅了哥!
while True:
try:
n = float(input())
if n >= 0:
opt = round(n**(1/3)*10)/10
else:
opt = (round((n*(-1))**(1/3)*10)/10)*(-1)
print(opt)
except:
break