Python 我有一个错误,TypeError:for/:'不支持的操作数类型;功能';和';int';我不知道';我不知道如何修理它
def fortLatSeconds(FORTLAT、fortLatDegree、fortLatMinutes): fortLatSeconds=圆形((FORTLAT-fortLatDegree-fortLatMinutes/60)*3600),4)Python 我有一个错误,TypeError:for/:'不支持的操作数类型;功能';和';int';我不知道';我不知道如何修理它,python,function,integer,Python,Function,Integer,def fortLatSeconds(FORTLAT、fortLatDegree、fortLatMinutes): fortLatSeconds=圆形((FORTLAT-fortLatDegree-fortLatMinutes/60)*3600),4) fortLatSeconds=fortLatSeconds(FORTLAT,fortLatDegree,fortLatMinutes)与函数名相同的变量可能会导致严重问题,应尽量避免使用。我已尝试更改变量名,但仍然会出现相同的错误欢迎使用堆栈溢出
fortLatSeconds=fortLatSeconds(FORTLAT,fortLatDegree,fortLatMinutes)与函数名相同的变量可能会导致严重问题,应尽量避免使用。我已尝试更改变量名,但仍然会出现相同的错误欢迎使用堆栈溢出!在发布问题时,请确保这是一个最小的、可复制的示例
return fortLatSeconds