题解 | #求解立方根#
求解立方根
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))
相关推荐
回家当保安:加油, 我当时也想拒字节面试,是被HR鼓励着我面试。然后走了2周流程 ,一共3+1 面,最后惊喜的发了offer