I have executed this code in Gooogle ColabNotebook...As per the link given below... prod() is available under math module. But why prod() is not working..its giving me the error? https://www.w3schools.com/python/ref_math_prod.asp
import math
print(math.prod([1,2,3,4,5,6,7]))
Output AttributeError: module 'math' has no attribute 'prod'