The error message suggests that the function ele_mul is not defined in the current scope. To fix this error, you need to define the function ele_mul before using it.

Here's an example of how you can define the ele_mul function:

def ele_mul(a, b):
    return a * b

Make sure to define the function before calling it in your code.

NameError name ele_mul is not defined

原文地址: https://www.cveoy.top/t/topic/hGDa 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录