+ 3

What is ZeroDivisionError

22nd Feb 2018, 6:35 PM
Jamil Soomro
Jamil Soomro - avatar
3 Answers
+ 14
Well uh, don't divide by zero. It's impossible mathematically.
22nd Feb 2018, 7:38 PM
Ahri Fox
Ahri Fox - avatar
+ 4
Found this on docs.python.org: Raised when the second argument of a division or modulo operation is zero.Ā If you want more, you can see exceptions page on python's doc https://docs.python.org/2/library/exceptions.html
22nd Feb 2018, 6:40 PM
Sad
Sad - avatar
+ 4
one day the python king made a lang named python he implemented all maths functions while putting division he asked whats the answer when divided by zero... the wise saint said it can be any thing any number no matter how big how small king was confused and asked what to do then.. his son advised to print a error msg in console whenever such cakculation come across FROM then the legendary error known as ZeroDivisionError šŸ˜‚šŸ˜‚šŸ˜‚šŸ˜‚šŸ˜‚šŸ˜‚hope its cool
22nd Feb 2018, 7:46 PM
sayan chandra
sayan chandra - avatar