为什么不能写成 Person.count = count + 1
class Person(object):
count = 0
def __init__(self, name):
self.name = name
Person.count = Person.count + 1
p1 = Person('Bob')
print Person.count
p2 = Person('Alice')
print Person.count
p3 = Person('Tim')
print Person.countLine 5 为什么不能写成 Person.count = count + 1