这个哪里错了
>>> class Person(object):
def _init_(self,name):
self.name = name
self.title = 'Mr'
self.__job = 'Student'
p = Person('Bob')
print p.name
SyntaxError: Missing parentheses in call to 'print'
>>>
>>> class Person(object):
def _init_(self,name):
self.name = name
self.title = 'Mr'
self.__job = 'Student'
p = Person('Bob')
print p.name
SyntaxError: Missing parentheses in call to 'print'
>>>
2016-05-09
举报