エラーコードポータル
PythonPythonエラーコード

ZeroDivisionError

ZeroDivisionError

コード ZeroDivisionError · Pythonが報告した問題です。

除算またはモジュロ演算の 2 番目の引数が 0 の場合に発生します。関連付けられた値は、オペランドのタイプと演算を示す文字列です。

Google Translate · 自動翻訳です。専門用語や適用条件は英語の原文で確認してください。

Raised when the second argument of a division or modulo operation is zero. The associated value is a string indicating the type of the operands and the operation.

トラブルシューティング・診断リンク

まず、文書の製品・バージョン・発生環境が現在の状況と一致しているか確認してください。