title: PyCharm: module 'math' has no attribute 'prod'
body: <p>I'm using Python 3.7 and my editor is PyCharm. When I call prod method from math module, it gives the error:</p>
  <p>AttributeError: module 'math' has no attribute 'prod'</p>
  <p>How can I fix it? (It works for other methods like <code>floor</code>, <code>sqrt</code> and etc. The only problem is <code>prod</code>.)</p>
  <p>Here's my piece of code:</p>
  <pre><code>import math
  
  numbers = [1, 2, 3, 4]
  
  print(math.prod(numbers))
  </code></pre>
  <p><strong>In general</strong>, my question is why this problem happens and how can I handle similar situations?</p>
  <p>Thanks.</p>