python求绝对值

tech2024-11-20  2

def abs(x): # x is real munber if x < 0: return -x else: return x abs(-0.2) abs(-10e-100)
最新回复(0)