题解 | #求解立方根#
求解立方根
https://www.nowcoder.com/practice/caf35ae421194a1090c22fe223357dca
f = float(input()) print("%.1f" % f ** (1/3)) if f >= 0 else print("%.1f" % -(-f) ** (1/3))
求解立方根
https://www.nowcoder.com/practice/caf35ae421194a1090c22fe223357dca
f = float(input()) print("%.1f" % f ** (1/3)) if f >= 0 else print("%.1f" % -(-f) ** (1/3))
相关推荐