解决python中的幂函数、指数函数问题 最近在调代码,碰到幂函数、指数函数,总是提示ValueError:mathdomainerrorValueError:negativenumbercan 指数函数