运行以下Python程序,输出的结果是?( )
class T(): def __init__(self): self.a=1 def t1(self,b): self.a=b+b c=T() c.a=c.a+c.a c.t1(5) print(c.a)
2
12
10
6