giveRaise(self, percent + bonus) if __name__ == '__main__': bob = Person('Bob Smith') ... this way turns out to be a very common coding pattern in Python.
確定! 回上一頁