title: Error python : [ZeroDivisionError: division by zero]
body: <p>I faced an error when I run my program using python:
  The error is like this:</p>
  <pre><code>ZeroDivisionError: division by zero
  </code></pre>
  <p>My program is similar to this:</p>
  <pre><code>In [55]:
  
  x = 0
  y = 0
  z = x/y
  ---------------------------------------------------------------------------
  ZeroDivisionError                         Traceback (most recent call last)
  &lt;ipython-input-55-30b5d8268cca&gt; in &lt;module&gt;()
        1 x = 0
        2 y = 0
  ----&gt; 3 z = x/y
  
  ZeroDivisionError: division by zero
  </code></pre>
  <p>Thus, I want to ask, how to avoid that error in python. My desired output is <code>z = 0</code></p>