If the condition fails, python interpreter raises an AssertionError. def division_fn(x,y): assert y > 0, 'y should be positive number' print("Division is :",x/ ...
確定! 回上一頁