H= float (input("Is this circuit charging or discharging")
if H== 'charging'
 T = float(input("How long have the capacitors and the resistor been connected to the battery")) 
If T= 0
use 0:
Vc= 0 
And VR= Vb
elif 
Vc= Vb *(1-e**(-T/R*Ceq))
And VR= Vb(e**(-T/R*Ceq))
Elfe (if 'It Is discharging')
t= float(input("How long have the capacitors and the resistor been disconnected to the battery")) 
If t= 0
use 0:
Vc= Vb 
And VR= Vc
elfe 
Vc= Vb(e**(-t/R*Ceq))
VR= Vc
print VR and Vc