除数为零

  • 网络Dividing by zero;division by zero;zero divide
除数为零除数为零
  1. divide()方法试图执行除数为零的除法,因而引发了一个异常:ZeroDivisionError。

    The divide () method tries to perform a division by zero and raises an exception : ZeroDivisionError .

  2. 除法运算中给出了除数为零的解决方案;

    At division , it presented the resolvent when divisor being zero .

  3. 该公式中用到的一些值可能是无效的―例如,除数为零。

    Some values used in that formula may be invalid & for instance , dividing by zero .

  4. 此时,可以发出'infolocals'、'print'、'infoargs'和'list'命令来查看引起除数为零的值。'

    At this point we can issue'info locals ' , 'print ' , 'info args'and'list'to see the values which caused the divide-by-zero .