知识点:需要判断为负数时,按照正数求立方根后变为负数:-((-num)**(1/3));
num = float(input()) if num >= 0: n= num**(1/3) else: n= -((-num)**(1/3)) print('{0:.1f}'.format(n))