If you wanted just the integral y of the integrate.quad() result, use the first element of that tuple:var = deltahbarCH4[0]或使用元组赋值:var, err = deltabarCH4 这篇关于什么是“不支持的操作数类型 -:'int' 和 'tuple'"?方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-22 04:16