import math x = -1 if x<0: raise ValueError print(math.sqrt(x)) Traceback (most recent call last): File "<stdin>", line 2, ...
確定! 回上一頁