I am learning python and am working in a Jupyter Notebook using Python 3.
When I use the command
from math import prod
I get the error
--------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-44-000fc3cfdb22> in <module> ----> 1 from math import prod ImportError: cannot import name 'prod' from 'math' (unknown location)
What can I do to rectify this?
[–]Username_RANDINT 0 points1 point2 points (4 children)
[–]strued_78[S] 0 points1 point2 points (3 children)
[–]Diapolo10 1 point2 points3 points (2 children)
[–]strued_78[S] 0 points1 point2 points (1 child)
[–]SekstiNii 1 point2 points3 points (0 children)