title: ValueError: math domain error
body: <p>I wrote this code</p>
  
  <pre><code>def partE():
      e = 3 * 10 // 3 + 10 % 3
      print("e).", e)
  
  partE()
  </code></pre>
  
  <p>and python comes back with this error message when I try to run it. I do not understand why. Can someone please explain? Thank you so much!</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:/Users/Crisa/PycharmProjects/untitled/homeworkchap3.py", line 30, in &lt;module&gt;
      partD()
    File "C:/Users/Crisa/PycharmProjects/untitled/homeworkchap3.py", line 27, in partD
      d = sqrt(4.5 - 5.0) + 7 * 3
  ValueError: math domain error
  </code></pre>