+ 1
Can you explain me the ZeroDivisionError?
5 Answers
+ 4
A ZeroDivision error occurs if you try to divide a number by 0. For example 5:0 is undefined because it doesnât make sense. (Imagine you have 5 cookies and you split them evenly among 0 friends. How many cookies does each person get? See, it doesnât make sense...).
+ 1
Simple math, you can't divide by 0 đ
+ 1
No problem.
0
thanks t_felix