Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/336.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 10 Vc=Vs(1-(10**(-t/t)))11 Vc类型错误:';int';对象不可调用_Python_Object_Integer - Fatal编程技术网

Python 10 Vc=Vs(1-(10**(-t/t)))11 Vc类型错误:';int';对象不可调用

Python 10 Vc=Vs(1-(10**(-t/t)))11 Vc类型错误:';int';对象不可调用,python,object,integer,Python,Object,Integer,打印vc时int对象不可调用错误我想你的意思是Vs*(1-(10**(-t/t)),因为Vs是一个整数而不是一个函数。 R=10000 C=1*(10**(-6)) Vs=10 T=R*C print(T) t=float(input("input the number")) Vc=Vs(1-(10**(-t/T))) Vc

打印vc时int对象不可调用错误

我想你的意思是
Vs*(1-(10**(-t/t))
,因为Vs是一个整数而不是一个函数。
R=10000
C=1*(10**(-6))
Vs=10

T=R*C
print(T)

t=float(input("input the number"))

Vc=Vs(1-(10**(-t/T)))
Vc